mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
target-i386: Pass X86CPU to do_cpu_{init,sipi}()
Allows to use cpu_reset() in place of cpu_state_reset(). Signed-off-by: Andreas Färber <afaerber@suse.de> Reviewed-by: Igor Mammedov <imammedo@redhat.com>
This commit is contained in:
parent
bf494367fa
commit
232fc23bed
4 changed files with 16 additions and 11 deletions
|
@ -1053,8 +1053,8 @@ static inline void cpu_get_tb_cpu_state(CPUX86State *env, target_ulong *pc,
|
|||
(env->eflags & (IOPL_MASK | TF_MASK | RF_MASK | VM_MASK));
|
||||
}
|
||||
|
||||
void do_cpu_init(CPUX86State *env);
|
||||
void do_cpu_sipi(CPUX86State *env);
|
||||
void do_cpu_init(X86CPU *cpu);
|
||||
void do_cpu_sipi(X86CPU *cpu);
|
||||
|
||||
#define MCE_INJECT_BROADCAST 1
|
||||
#define MCE_INJECT_UNCOND_AO 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue