diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-11-23 21:02:10 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-11-23 21:02:10 +0000 |
commit | d2ac63e03e21b1a4be24615792b36ec4e953333b (patch) | |
tree | 4dcd248560300dd529d9a84d4ce58d1db56212fe /target-i386/op.c | |
parent | ad49ff9de3f15d1b91416ecd005cfae16aba0026 (diff) |
added HF_HALTED bit
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1651 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386/op.c')
-rw-r--r-- | target-i386/op.c | 1 |
1 files changed, 1 insertions, 0 deletions
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(); } |