diff options
Diffstat (limited to 'cpus.c')
-rw-r--r-- | cpus.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -801,3 +801,14 @@ int64_t cpu_get_icount(void) } return qemu_icount_bias + (icount << icount_time_shift); } + +void list_cpus(FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...), + const char *optarg) +{ + /* XXX: implement xxx_cpu_list for targets that still miss it */ +#if defined(cpu_list_id) + cpu_list_id(f, cpu_fprintf, optarg); +#elif defined(cpu_list) + cpu_list(f, cpu_fprintf); /* deprecated */ +#endif +} |