aboutsummaryrefslogtreecommitdiff
path: root/target-arm/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-arm/helper.c')
-rw-r--r--target-arm/helper.c10
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;