changeset 1442:b2f2e3f2a047

Machine check needs to be disabled for reset to work
author gthomas
date Thu, 11 Dec 2003 15:17:26 +0000
parents dbadab9b4441
children cd7d2afbc7dd
files packages/hal/powerpc/rattler/current/ChangeLog packages/hal/powerpc/rattler/current/src/hal_aux.c
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/packages/hal/powerpc/rattler/current/ChangeLog
+++ b/packages/hal/powerpc/rattler/current/ChangeLog
@@ -1,3 +1,9 @@
+2003-12-11  Gary Thomas  <gary@mlbassoc.com>
+
+	* src/hal_aux.c (_rattler_reset): Machine check needs to be disabled
+	for checkstop to happen.  Interestingly enough, this fact seems to
+	differ from version to version of the 82xx chips.
+
 2003-11-07  Gary Thomas  <gary@mlbassoc.com>
 
 	* src/hal_aux.c (_rattler_leds): New function.  Also set up I/O bits
--- a/packages/hal/powerpc/rattler/current/src/hal_aux.c
+++ b/packages/hal/powerpc/rattler/current/src/hal_aux.c
@@ -414,6 +414,7 @@ void
 
     // Need interrupts off to force checkstop
     HAL_DISABLE_INTERRUPTS(int_state);
+    HAL_DISABLE_MACHINE_CHECK(int_state);
     IMM->clocks_rmr |= 0x01;  // Checkstop Reset Enable
     // Force a checkstop by turning on parity which is not implemented
     CYGARC_MFSPR(CYGARC_REG_HID0, hid0);