# HG changeset patch # User gthomas # Date 1071155846 0 # Node ID b2f2e3f2a0472421354fa04679b3566be4fd00ec # Parent dbadab9b4441423efcd9558f7b4bec011b976382 Machine check needs to be disabled for reset to work diff --git a/packages/hal/powerpc/rattler/current/ChangeLog b/packages/hal/powerpc/rattler/current/ChangeLog --- a/packages/hal/powerpc/rattler/current/ChangeLog +++ b/packages/hal/powerpc/rattler/current/ChangeLog @@ -1,3 +1,9 @@ +2003-12-11 Gary Thomas + + * 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 * src/hal_aux.c (_rattler_leds): New function. Also set up I/O bits diff --git a/packages/hal/powerpc/rattler/current/src/hal_aux.c b/packages/hal/powerpc/rattler/current/src/hal_aux.c --- 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);