diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-03-08 03:15:18 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-03-08 03:15:18 +0000 |
commit | 5adb4839e3c35382832bedc7155b3317b7b7d560 (patch) | |
tree | 974b3d8d697b76312050d2ee460f4c1574d7fd3c /target-arm/helper.c | |
parent | 3371d27293dc40159069d6593da22ba77ac8513c (diff) |
Fix typo in help output.
List ARM cpus.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2475 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-arm/helper.c')
-rw-r--r-- | target-arm/helper.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/target-arm/helper.c b/target-arm/helper.c index 093acc9af4..36f5fe073f 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -47,6 +47,16 @@ static const struct arm_cpu_t arm_cpu_names[] = { { 0, NULL} }; +void arm_cpu_list(void) +{ + int i; + + printf ("Available CPUs:\n"); + for (i = 0; arm_cpu_names[i].name; i++) { + printf(" %s\n", arm_cpu_names[i].name); + } +} + void cpu_arm_set_model(CPUARMState *env, const char *name) { int i; |