提交 acf5feac 编写于 作者: B bellard

hlt instruction fix


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@973 c046a42c-6fe2-441c-8c8c-71466251a162
上级 d187d4b2
......@@ -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();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册