diff options
author | Edgar E. Iglesias <edgar@axis.com> | 2010-08-06 12:21:16 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2010-08-06 12:21:16 +0200 |
commit | 138afb024bbd115553a344e06d93011a283d1316 (patch) | |
tree | ebd809dcf604b85e3099678522c1e43890c4394b /cpu-exec.c | |
parent | d087bb3e38fbb705ae65c55457b9ef3e0a5d2511 (diff) |
mips: Add support for VInt and VEIC irq modes
Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
Diffstat (limited to 'cpu-exec.c')
-rw-r--r-- | cpu-exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu-exec.c b/cpu-exec.c index d170566cfd..dbdfdccd8c 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -448,7 +448,7 @@ int cpu_exec(CPUState *env1) } #elif defined(TARGET_MIPS) if ((interrupt_request & CPU_INTERRUPT_HARD) && - (env->CP0_Status & env->CP0_Cause & CP0Ca_IP_mask) && + cpu_mips_hw_interrupts_pending(env) && (env->CP0_Status & (1 << CP0St_IE)) && !(env->CP0_Status & (1 << CP0St_EXL)) && !(env->CP0_Status & (1 << CP0St_ERL)) && |