Commit dfae6487c048d9888820737f1546bac438030a31
1 parent
de12d636
remove nonsense exception code (Ralf Baechle)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1468 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
0 additions
and
3 deletions
target-mips/helper.c
@@ -261,9 +261,6 @@ int cpu_mips_handle_mmu_fault (CPUState *env, target_ulong address, int rw, | @@ -261,9 +261,6 @@ int cpu_mips_handle_mmu_fault (CPUState *env, target_ulong address, int rw, | ||
261 | break; | 261 | break; |
262 | 262 | ||
263 | } | 263 | } |
264 | - if (ret == -2) { | ||
265 | - exception = EXCP_AdEL; | ||
266 | - } | ||
267 | /* Raise exception */ | 264 | /* Raise exception */ |
268 | env->CP0_BadVAddr = address; | 265 | env->CP0_BadVAddr = address; |
269 | env->CP0_Context = | 266 | env->CP0_Context = |