Revision ce5232c5 target-i386/op_helper.c
b/target-i386/op_helper.c | ||
---|---|---|
4546 | 4546 |
helper_svm_check_intercept_param(SVM_EXIT_HLT, 0); |
4547 | 4547 |
|
4548 | 4548 |
env->hflags &= ~HF_INHIBIT_IRQ_MASK; /* needed if sti is just before */ |
4549 |
env->hflags |= HF_HALTED_MASK;
|
|
4549 |
env->halted = 1;
|
|
4550 | 4550 |
env->exception_index = EXCP_HLT; |
4551 | 4551 |
cpu_loop_exit(); |
4552 | 4552 |
} |
Also available in: Unified diff