put panic instructions in palcode rather than looping on mchecks.

This commit is contained in:
Ali Saidi 2006-04-26 15:15:45 -04:00
parent 576196c13c
commit 5dc260b139

View file

@ -1620,7 +1620,8 @@ EXPORT(sys_machine_check)
// Also, due to possible 2nd Cbox register file write for // Also, due to possible 2nd Cbox register file write for
// uncorrectable errors, no register file read or write for 7 cycles. // uncorrectable errors, no register file read or write for 7 cycles.
nop //nop
.long 0x4000054 // call M5 Panic
mtpr r0, pt0 // Stash for scratch -- OK if Cbox overwrites mtpr r0, pt0 // Stash for scratch -- OK if Cbox overwrites
// r0 later // r0 later
nop nop
@ -1717,7 +1718,8 @@ EXPORT(sys_machine_check)
// //
EXPORT(sys_mchk_collect_iprs) EXPORT(sys_mchk_collect_iprs)
mb // MB before reading Scache IPRs .long 0x4000054 // call M5 Panic
//mb // MB before reading Scache IPRs
mfpr r1, icperr_stat mfpr r1, icperr_stat
mfpr r8, dcperr_stat mfpr r8, dcperr_stat