diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-12-02 06:18:24 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-12-02 06:18:24 +0000 |
commit | e96e2044a14340bf1e612b7f046093495c10a06f (patch) | |
tree | b104c5d9280ad19c03afcecd20457324627d3580 /cpu-exec.c | |
parent | 823029f909b3666660418387d48ea6a207f23f26 (diff) |
SH4: system emulator interrupt update, by Magnus Damm.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3762 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-exec.c')
-rw-r--r-- | cpu-exec.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpu-exec.c b/cpu-exec.c index e8b93a832e..3629cacd7c 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -511,7 +511,10 @@ int cpu_exec(CPUState *env1) BREAK_CHAIN; } #elif defined(TARGET_SH4) - /* XXXXX */ + if (interrupt_request & CPU_INTERRUPT_HARD) { + do_interrupt(env); + BREAK_CHAIN; + } #elif defined(TARGET_ALPHA) if (interrupt_request & CPU_INTERRUPT_HARD) { do_interrupt(env); |