From: bellard Date: Fri, 25 Jun 2004 14:58:58 +0000 (+0000) Subject: hlt instruction fix X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~15373 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=acf5feac80a3edb2d6cfaee40ae53ac90f789578;p=sdk%2Femulator%2Fqemu.git hlt instruction fix git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@973 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/target-i386/op.c b/target-i386/op.c index f7276ca67b..b9aef6aae2 100644 --- a/target-i386/op.c +++ b/target-i386/op.c @@ -433,6 +433,7 @@ void OPPROTO op_jmp_im(void) void OPPROTO op_hlt(void) { + env->hflags &= ~HF_INHIBIT_IRQ_MASK; /* needed if sti is just before */ env->exception_index = EXCP_HLT; cpu_loop_exit(); }