diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-07-13 18:35:04 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-07-13 18:35:04 +0000 |
commit | 1e1ee0c01796a12e6f6b2019334455555223deab (patch) | |
tree | 0ad7e9de9566f81ae1e6a41500cf086743aba85f /c/src/lib/libbsp/shared/bspclean.c | |
parent | 2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff) | |
download | rtems-1e1ee0c01796a12e6f6b2019334455555223deab.tar.bz2 |
2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1824/cpukit
* bootcard.c, bspclean.c, include/bootcard.h: 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.
Diffstat (limited to 'c/src/lib/libbsp/shared/bspclean.c')
-rw-r--r-- | c/src/lib/libbsp/shared/bspclean.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/shared/bspclean.c b/c/src/lib/libbsp/shared/bspclean.c index 31fa046572..6636dfb577 100644 --- a/c/src/lib/libbsp/shared/bspclean.c +++ b/c/src/lib/libbsp/shared/bspclean.c @@ -17,7 +17,9 @@ #include <bspopts.h> #include <bsp/bootcard.h> -void bsp_cleanup( void ) +void bsp_cleanup( + uint32_t status +) { #if (BSP_PRESS_KEY_FOR_RESET) printk( "\nEXECUTIVE SHUTDOWN! Any key to reboot..." ); |