diff options
Diffstat (limited to 'sim/ppc/emul_generic.c')
-rw-r--r-- | sim/ppc/emul_generic.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sim/ppc/emul_generic.c b/sim/ppc/emul_generic.c index 73209f5..3b8ca02 100644 --- a/sim/ppc/emul_generic.c +++ b/sim/ppc/emul_generic.c @@ -282,10 +282,13 @@ emul_add_tree_options(device *tree, device_tree_add_parsed(tree, "/openprom/options/env %s", env); device_tree_add_parsed(tree, "/openprom/options/os-emul %s", emul); device_tree_add_parsed(tree, "/openprom/options/strict-alignment? %s", - (WITH_ALIGNMENT == STRICT_ALIGNMENT || little_endian) + ((WITH_ALIGNMENT == 0 && little_endian) + || (WITH_ALIGNMENT == STRICT_ALIGNMENT)) ? "true" : "false"); device_tree_add_parsed(tree, "/openprom/options/floating-point? %s", WITH_FLOATING_POINT ? "true" : "false"); + device_tree_add_parsed(tree, "/openprom/options/use-stdio? %s", + WITH_STDIO == DO_USE_STDIO ? "true" : "false"); device_tree_add_parsed(tree, "/openprom/options/model \"%s", model_name[WITH_DEFAULT_MODEL]); device_tree_add_parsed(tree, "/openprom/options/model-issue %d", |