diff options
author | Andreas Färber <afaerber@suse.de> | 2012-10-15 17:44:21 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-12-19 01:01:37 +0100 |
commit | 494342b35b55b3b126821141e15c8a49df122ff1 (patch) | |
tree | 32256f51cf082a17b96eb901642f3b49a42aec04 /target-alpha/cpu.h | |
parent | 0c28246fcd5ea9ccb22aa93ef2e0af14463fec58 (diff) |
target-alpha: Add support for -cpu ?
Implement alphabetical listing of CPU subclasses.
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target-alpha/cpu.h b/target-alpha/cpu.h index 0d084586e1..23f06c5a02 100644 --- a/target-alpha/cpu.h +++ b/target-alpha/cpu.h @@ -289,6 +289,7 @@ struct CPUAlphaState { int implver; }; +#define cpu_list alpha_cpu_list #define cpu_exec cpu_alpha_exec #define cpu_gen_code cpu_alpha_gen_code #define cpu_signal_handler cpu_alpha_signal_handler @@ -438,6 +439,7 @@ static inline CPUAlphaState *cpu_init(const char *cpu_model) return &cpu->env; } +void alpha_cpu_list(FILE *f, fprintf_function cpu_fprintf); int cpu_alpha_exec(CPUAlphaState *s); /* you can call this signal handler from your SIGBUS and SIGSEGV signal handlers to inform the virtual CPU of exceptions. non zero |