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/uC5282/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/uC5282/startup/bspclean.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/m68k/uC5282/startup/bspclean.c b/c/src/lib/libbsp/m68k/uC5282/startup/bspclean.c index 500663ab8b..3f5698fb39 100644 --- a/c/src/lib/libbsp/m68k/uC5282/startup/bspclean.c +++ b/c/src/lib/libbsp/m68k/uC5282/startup/bspclean.c @@ -21,7 +21,9 @@ extern void bsp_reset(int); -void bsp_cleanup( void ) +void bsp_cleanup( + uint32_t status +) { - bsp_reset(0); + bsp_reset(0); } |