aboutsummaryrefslogtreecommitdiff
path: root/target-alpha/cpu.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-10-15 17:33:32 +0200
committerAndreas Färber <afaerber@suse.de>2012-12-19 01:01:36 +0100
commit0c28246fcd5ea9ccb22aa93ef2e0af14463fec58 (patch)
tree1bf5664e1efd1a5d450c2f97d1c974624ec4c8fc /target-alpha/cpu.h
parentc92458538f501eda585b4b774c50644aed391a8a (diff)
downloadqemu-0c28246fcd5ea9ccb22aa93ef2e0af14463fec58.zip
qemu-0c28246fcd5ea9ccb22aa93ef2e0af14463fec58.tar.gz
qemu-0c28246fcd5ea9ccb22aa93ef2e0af14463fec58.tar.bz2
target-alpha: Turn CPU definitions into subclasses
Make TYPE_ALPHA_CPU abstract and add types <name>-alpha-cpu. Use type inheritence, and turn "2*" models into aliases. Move cpu_alpha_init() to cpu.c and split out CPU realization. Default to creating type "ev67-alpha-cpu" as before. Signed-off-by: Andreas Färber <afaerber@suse.de> Acked-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-alpha/cpu.h')
-rw-r--r--target-alpha/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-alpha/cpu.h b/target-alpha/cpu.h
index e1d7715..0d08458 100644
--- a/target-alpha/cpu.h
+++ b/target-alpha/cpu.h
@@ -425,6 +425,8 @@ enum {
IR_ZERO = 31,
};
+void alpha_translate_init(void);
+
AlphaCPU *cpu_alpha_init(const char *cpu_model);
static inline CPUAlphaState *cpu_init(const char *cpu_model)