From d2ac63e03e21b1a4be24615792b36ec4e953333b Mon Sep 17 00:00:00 2001 From: bellard Date: Wed, 23 Nov 2005 21:02:10 +0000 Subject: added HF_HALTED bit git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1651 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-i386/op.c | 1 + 1 file changed, 1 insertion(+) (limited to 'target-i386/op.c') diff --git a/target-i386/op.c b/target-i386/op.c index 6370045794..137f5726b0 100644 --- a/target-i386/op.c +++ b/target-i386/op.c @@ -615,6 +615,7 @@ void OPPROTO op_movq_eip_im64(void) void OPPROTO op_hlt(void) { env->hflags &= ~HF_INHIBIT_IRQ_MASK; /* needed if sti is just before */ + env->hflags |= HF_HALTED_MASK; env->exception_index = EXCP_HLT; cpu_loop_exit(); } -- cgit v1.2.3