2007-12-10 Till Straumann <strauman@slac.stanford.edu>

* new-exceptions/bspsupport/ppc_exc_hdl.c: make sure
	RI is set in the exception frame and panic if it isn't
	(state info might have been lost). This only affects
	classic PPC.
This commit is contained in:
Till Straumann
2007-12-11 05:19:55 +00:00
parent 59a4066e01
commit f328b69076
2 changed files with 13 additions and 0 deletions

View File

@@ -1,3 +1,10 @@
2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc_hdl.c: make sure
RI is set in the exception frame and panic if it isn't
(state info might have been lost). This only affects
classic PPC.
2007-12-10 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/README,

View File

@@ -97,6 +97,12 @@ int rval = 1;
rval = 0;
}
if ( (ppc_exc_msr_bits ^ f->EXC_SRR1) & MSR_RI ) {
printk("unrecoverable exception (RI was clear), spinning to death.\n");
while (1)
;
}
return rval;
}