Commit acf5feac80a3edb2d6cfaee40ae53ac90f789578

Authored by bellard
1 parent d187d4b2

hlt instruction fix


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@973 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 0 deletions
target-i386/op.c
... ... @@ -433,6 +433,7 @@ void OPPROTO op_jmp_im(void)
433 433  
434 434 void OPPROTO op_hlt(void)
435 435 {
  436 + env->hflags &= ~HF_INHIBIT_IRQ_MASK; /* needed if sti is just before */
436 437 env->exception_index = EXCP_HLT;
437 438 cpu_loop_exit();
438 439 }
... ...