aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index 497a1e5fac..dc2297ecf5 100644
--- a/vl.c
+++ b/vl.c
@@ -197,6 +197,9 @@ const char *option_rom[MAX_OPTION_ROMS];
int nb_option_roms;
int semihosting_enabled = 0;
int autostart = 1;
+#ifdef TARGET_ARM
+int old_param = 0;
+#endif
const char *qemu_name;
int alt_grab = 0;
#ifdef TARGET_SPARC
@@ -6801,6 +6804,7 @@ enum {
QEMU_OPTION_semihosting,
QEMU_OPTION_name,
QEMU_OPTION_prom_env,
+ QEMU_OPTION_old_param,
};
typedef struct QEMUOption {
@@ -6902,6 +6906,9 @@ const QEMUOption qemu_options[] = {
#if defined(TARGET_SPARC)
{ "prom-env", HAS_ARG, QEMU_OPTION_prom_env },
#endif
+#if defined(TARGET_ARM)
+ { "old-param", 0, QEMU_OPTION_old_param },
+#endif
{ NULL },
};
@@ -7676,6 +7683,10 @@ int main(int argc, char **argv)
nb_prom_envs++;
break;
#endif
+#ifdef TARGET_ARM
+ case QEMU_OPTION_old_param:
+ old_param = 1;
+#endif
}
}
}