mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
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>
This commit is contained in:
parent
c92458538f
commit
0c28246fcd
3 changed files with 180 additions and 58 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue