TLB reload exception vector (Ralf Baechle)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1481 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
8549850891
commit
0d8aca8c67
|
@ -417,6 +417,9 @@ void do_interrupt (CPUState *env)
|
||||||
goto set_EPC;
|
goto set_EPC;
|
||||||
case EXCP_TLBS:
|
case EXCP_TLBS:
|
||||||
cause = 3;
|
cause = 3;
|
||||||
|
if (env->error_code == 1 && !(env->hflags & MIPS_HFLAG_EXL))
|
||||||
|
offset = 0x000;
|
||||||
|
goto set_EPC;
|
||||||
set_EPC:
|
set_EPC:
|
||||||
if (env->CP0_Status & (1 << CP0St_BEV)) {
|
if (env->CP0_Status & (1 << CP0St_BEV)) {
|
||||||
pc = 0xBFC00200;
|
pc = 0xBFC00200;
|
||||||
|
|
Loading…
Reference in a new issue