diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-07-27 22:08:46 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-07-27 22:08:46 +0000 |
commit | 2b8f2d4165de7095b58927138458b8d30775891e (patch) | |
tree | 0cc4afc7aeccee09230c945250f0fe562627f6b3 /vl.c | |
parent | 59c0149bc6b4e29c6605e943d4c30686c2bed589 (diff) |
Optionally setup old style linux bootparams for -kernel, by Juergen Lock.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3089 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 } } } |