summaryrefslogtreecommitdiff
path: root/target-m68k/cpu.h
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2009-05-09 22:21:39 +0200
committerPaul Brook <paul@codesourcery.com>2009-05-09 21:28:46 +0100
commit8ef7009086efc332436c87ef463c10c1afd0220f (patch)
tree2f96f3a78c8f498ba230167f27290cee90a0c6b1 /target-m68k/cpu.h
parent6d445a8aae64a0dc320dd651c5f8f76edb7adc07 (diff)
downloadqemu-8ef7009086efc332436c87ef463c10c1afd0220f.tar.gz
qemu-8ef7009086efc332436c87ef463c10c1afd0220f.tar.bz2
qemu-8ef7009086efc332436c87ef463c10c1afd0220f.zip
Add m68k_cpu_list()
This patch adds to m68k target the missing m68k_cpu_list(): $ ./m68k-softmmu/qemu-system-m68k -cpu ? m5206 m5208 cfv4e any Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'target-m68k/cpu.h')
-rw-r--r--target-m68k/cpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/target-m68k/cpu.h b/target-m68k/cpu.h
index e2529eb0ac..feffb6bf73 100644
--- a/target-m68k/cpu.h
+++ b/target-m68k/cpu.h
@@ -199,6 +199,8 @@ static inline int m68k_feature(CPUM68KState *env, int feature)
return (env->features & (1u << feature)) != 0;
}
+void m68k_cpu_list(FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...));
+
void register_m68k_insns (CPUM68KState *env);
#ifdef CONFIG_USER_ONLY
@@ -213,6 +215,7 @@ void register_m68k_insns (CPUM68KState *env);
#define cpu_exec cpu_m68k_exec
#define cpu_gen_code cpu_m68k_gen_code
#define cpu_signal_handler cpu_m68k_signal_handler
+#define cpu_list m68k_cpu_list
/* MMU modes definitions */
#define MMU_MODE0_SUFFIX _kernel