diff options
author | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-12 06:47:46 +0000 |
---|---|---|
committer | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-12 06:47:46 +0000 |
commit | c732abe2227954316a5db399aac2040ec0d68f91 (patch) | |
tree | 3dc6907025e858009a1c36460c4ab0a620eec731 /vl.c | |
parent | 90251fb96e9feba205ee4867cbfe21e0142ad341 (diff) | |
download | qemu-c732abe2227954316a5db399aac2040ec0d68f91.zip qemu-c732abe2227954316a5db399aac2040ec0d68f91.tar.gz qemu-c732abe2227954316a5db399aac2040ec0d68f91.tar.bz2 |
Unify '-cpu ?' option.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3380 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -7690,14 +7690,9 @@ int main(int argc, char **argv) case QEMU_OPTION_cpu: /* hw initialization will check this */ if (*optarg == '?') { -#if defined(TARGET_PPC) - ppc_cpu_list(stdout, &fprintf); -#elif defined(TARGET_ARM) - arm_cpu_list(); -#elif defined(TARGET_MIPS) - mips_cpu_list(stdout, &fprintf); -#elif defined(TARGET_SPARC) - sparc_cpu_list(stdout, &fprintf); +/* XXX: implement xxx_cpu_list for targets that still miss it */ +#if defined(cpu_list) + cpu_list(stdout, &fprintf); #endif exit(0); } else { |