mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
sun4m halt support (Blue Swirl)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2161 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
8f40c388ef
commit
df52b0009b
2 changed files with 4 additions and 5 deletions
|
@ -548,8 +548,10 @@ int cpu_exec(CPUState *env1)
|
|||
//do_interrupt(0, 0, 0, 0, 0);
|
||||
env->interrupt_request &= ~CPU_INTERRUPT_TIMER;
|
||||
} else if (interrupt_request & CPU_INTERRUPT_HALT) {
|
||||
env1->halted = 1;
|
||||
return EXCP_HALTED;
|
||||
env->interrupt_request &= ~CPU_INTERRUPT_HALT;
|
||||
env->halted = 1;
|
||||
env->exception_index = EXCP_HLT;
|
||||
cpu_loop_exit();
|
||||
}
|
||||
#elif defined(TARGET_ARM)
|
||||
if (interrupt_request & CPU_INTERRUPT_FIQ
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue