mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
added cpu_model parameter to cpu_init()
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3562 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
7d77bf2006
commit
aaed909a49
46 changed files with 320 additions and 324 deletions
|
@ -396,7 +396,7 @@ enum {
|
|||
IR_ZERO = 31,
|
||||
};
|
||||
|
||||
CPUAlphaState * cpu_alpha_init (void);
|
||||
CPUAlphaState * cpu_alpha_init (const char *cpu_model);
|
||||
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
|
||||
|
|
|
@ -2095,7 +2095,7 @@ int gen_intermediate_code_pc (CPUState *env, struct TranslationBlock *tb)
|
|||
return gen_intermediate_code_internal(env, tb, 1);
|
||||
}
|
||||
|
||||
CPUAlphaState * cpu_alpha_init (void)
|
||||
CPUAlphaState * cpu_alpha_init (const char *cpu_model)
|
||||
{
|
||||
CPUAlphaState *env;
|
||||
uint64_t hwpcb;
|
||||
|
@ -2133,3 +2133,4 @@ CPUAlphaState * cpu_alpha_init (void)
|
|||
|
||||
return env;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue