From: Alexandre Courbot Date: Tue, 25 Jan 2011 05:00:14 +0000 (+0900) Subject: target-sh4: fix index of address read error exception X-Git-Tag: v0.14.0-rc0~81 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bec43cc3b61d025841d550800d3835986446061d;p=thirdparty%2Fqemu.git target-sh4: fix index of address read error exception Exception index of address read error should be 0x0e0. Signed-off-by: Alexandre Courbot Signed-off-by: Aurelien Jarno --- diff --git a/target-sh4/helper.c b/target-sh4/helper.c index bee05274fd6..19b309b4f5a 100644 --- a/target-sh4/helper.c +++ b/target-sh4/helper.c @@ -479,7 +479,7 @@ int cpu_sh4_handle_mmu_fault(CPUState * env, target_ulong address, int rw, break; case MMU_IADDR_ERROR: case MMU_DADDR_ERROR_READ: - env->exception_index = 0x0c0; + env->exception_index = 0x0e0; break; case MMU_DADDR_ERROR_WRITE: env->exception_index = 0x100;