summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared/include
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/include
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/include')
-rw-r--r--c/src/lib/libbsp/shared/include/bootcard.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/shared/include/bootcard.h b/c/src/lib/libbsp/shared/include/bootcard.h
index 74ad6eec61..33f4883362 100644
--- a/c/src/lib/libbsp/shared/include/bootcard.h
+++ b/c/src/lib/libbsp/shared/include/bootcard.h
@@ -62,7 +62,7 @@ void bsp_predriver_hook(void);
void bsp_postdriver_hook(void);
-void bsp_cleanup(void);
+void bsp_cleanup(uint32_t status);
void bsp_reset(void);
@@ -118,9 +118,11 @@ uintptr_t bsp_sbrk_init(
* the framework for the BSP initialization sequence. The basic flow of
* initialization is:
*
- * - disable interrupts, interrupts will be enabled during the first context switch
+ * - disable interrupts, interrupts will be enabled during the first context
+ * switch
* - bsp_start() - more advanced initialization
- * - obtain information on BSP memory via bsp_get_work_area() and allocate RTEMS Workspace
+ * - obtain information on BSP memory via bsp_get_work_area() and allocate
+ * RTEMS Workspace
* - rtems_initialize_data_structures()
* - allocate memory for C Program Heap
* - initialize C Library and C Program Heap
@@ -144,7 +146,7 @@ uintptr_t bsp_sbrk_init(
* This style of initialization ensures that the C++ global constructors are
* executed after RTEMS is initialized.
*/
-int boot_card(const char *cmdline);
+uint32_t boot_card(const char *cmdline);
/** @} */