mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
[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
This commit is contained in:
parent
f3d8b1eb10
commit
833ed38689
5 changed files with 17 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue