diff options
author | Alexandre Courbot <gnurou@gmail.com> | 2011-01-25 14:00:14 +0900 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-01-25 08:36:30 +0100 |
commit | c7cf2d50ad25bccb50d7a1475ce63235bc963cca (patch) | |
tree | 0d55eb6857821e0cfe7b53ef83cea3c10e8ab096 /target-sh4 | |
parent | 2adbb83814344006e709062612394a01d0b14b56 (diff) | |
download | qemu-c7cf2d50ad25bccb50d7a1475ce63235bc963cca.tar.gz qemu-c7cf2d50ad25bccb50d7a1475ce63235bc963cca.tar.bz2 qemu-c7cf2d50ad25bccb50d7a1475ce63235bc963cca.zip |
target-sh4: fix index of address read error exception
Exception index of address read error should be 0x0e0.
Signed-off-by: Alexandre Courbot <gnurou@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-sh4')
-rw-r--r-- | target-sh4/helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sh4/helper.c b/target-sh4/helper.c index bee05274fd..19b309b4f5 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; |