summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared/bspclean.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-07-13 18:35:04 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-07-13 18:35:04 +0000
commit1e1ee0c01796a12e6f6b2019334455555223deab (patch)
tree0ad7e9de9566f81ae1e6a41500cf086743aba85f /c/src/lib/libbsp/shared/bspclean.c
parent2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-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.c4
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..." );