diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-07-13 18:35:43 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-07-13 18:35:43 +0000 |
commit | f4adc0d1a16d638654ac82159f32c97cdf065e1c (patch) | |
tree | fac02ddc5d60d9abb3cf57cde52c053f6f38c462 /c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c | |
parent | 2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff) | |
download | rtems-f4adc0d1a16d638654ac82159f32c97cdf065e1c.tar.bz2 |
2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1824/cpukit
* startup/bspclean.c: Return exit/shutdown status back to boot_card().
boot_card() propagates this to bsp_cleanup() and returns it to the
assembly that started the application. bsp_cleanup() prototype
changed.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c b/c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c index 1d2f511db7..601cedc7cf 100644 --- a/c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c +++ b/c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c @@ -33,7 +33,9 @@ void bsp_return_to_monitor_trap(void) #define TIMER 0xfffb0000 -void bsp_cleanup( void ) +void bsp_cleanup( + uint32_t status +) { Z8x36_WRITE( TIMER, MASTER_INTR, 0x62 ); /* redo timer */ Z8x36_WRITE( TIMER, CT1_MODE_SPEC, 0x00 ); |