mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
Revert "don't call cpu_sychronize_state from reset handlers"
This reverts commit 733318ea9c
.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
02b33596d0
commit
1c3173b9ed
2 changed files with 3 additions and 6 deletions
|
@ -938,6 +938,8 @@ static void apic_reset(void *opaque)
|
|||
APICState *s = opaque;
|
||||
int bsp;
|
||||
|
||||
cpu_synchronize_state(s->cpu_env);
|
||||
|
||||
bsp = cpu_is_bsp(s->cpu_env);
|
||||
s->apicbase = 0xfee00000 |
|
||||
(bsp ? MSR_IA32_APICBASE_BSP : 0) | MSR_IA32_APICBASE_ENABLE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue