diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-22 08:57:27 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-22 08:57:27 +0000 |
commit | 833ed38689cca2b024f7952269f17d7bf2ab6de4 (patch) | |
tree | 43919bac346efaa500a61c2229270e6b3512aba5 /target-sh4/exec.h | |
parent | f3d8b1eb105199a1d6bf063a8a574e782689909a (diff) |
[sh4] sleep instruction
This patch adds sleep instruction.
(Shin-ichiro KAWASAKI)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5065 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sh4/exec.h')
-rw-r--r-- | target-sh4/exec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-sh4/exec.h b/target-sh4/exec.h index 2d333761f8..544dc0f1b1 100644 --- a/target-sh4/exec.h +++ b/target-sh4/exec.h @@ -41,6 +41,7 @@ static inline int cpu_halted(CPUState *env) { return 0; if (env->interrupt_request & CPU_INTERRUPT_HARD) { env->halted = 0; + env->intr_at_halt = 1; return 0; } return EXCP_HALTED; |