Skip to contentSkip to conversation

x86: Fix INIT processing

PATCH Applied Jan Kiszka 2 participants 2 messages Jun 23, 2010 – Jun 27, 2010

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 x86: Fix INIT processing

From: Jan Kiszka <[email protected]>

This fixes a regression of 0e26b7b892: Reset halted also on INIT.

---
 target-i386/helper.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
target-i386/helper.c +1 -0
index 718394c..e134340 100644
@@ -1151,6 +1151,7 @@ void do_cpu_init(CPUState *env)
     cpu_reset(env);
     env->interrupt_request = sipi;
     apic_init_reset(env->apic_state);
+    env->halted = !cpu_is_bsp(env);
 }
 
 void do_cpu_sipi(CPUState *env)
Signature · 1 line
1.6.0.2
Applied
#1 lore raw

Thanks, applied.

Quoted 24 lines · Jan Kiszka

From: Jan Kiszka <[email protected]>

This fixes a regression of 0e26b7b892: Reset halted also on INIT.

---
 target-i386/helper.c |    1 +

 1 files changed, 1 insertions(+), 0 deletions(-)
target-i386/helper.c +1 -1
index 718394c..e134340 100644
@@ -1151,6 +1151,7 @@ void do_cpu_init(CPUState *env)
     cpu_reset(env);
     env->interrupt_request = sipi;
     apic_init_reset(env->apic_state);
+    env->halted = !cpu_is_bsp(env);
  }
 
  void do_cpu_sipi(CPUState *env)
--

1.6.0.2