projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e40a67b
)
target-sh4: fix index of address read error exception
author
Alexandre Courbot
<gnurou@gmail.com>
Tue, 25 Jan 2011 05:00:14 +0000
(14:00 +0900)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Tue, 25 Jan 2011 07:36:30 +0000
(08:36 +0100)
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>
target-sh4/helper.c
patch
|
blob
|
history
diff --git
a/target-sh4/helper.c
b/target-sh4/helper.c
index bee05274fd6665b3baafbd5edcf6aac188662a8a..19b309b4f5ab40da59580f29113b8cd08bb39f24 100644
(file)
--- 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 = 0x0
c
0;
+ env->exception_index = 0x0
e
0;
break;
case MMU_DADDR_ERROR_WRITE:
env->exception_index = 0x100;