summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared/include
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-12-06 17:47:30 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-12-07 09:38:41 +0100
commit48bff53b3dec885085b87db413329830110c9bb0 (patch)
treeba0c249c350b9f4f84bedb5569f11e611874617e /c/src/lib/libbsp/shared/include
parentbsp/gdbarmsim: Do not call bsp_cleanup() (diff)
downloadrtems-48bff53b3dec885085b87db413329830110c9bb0.tar.bz2
score: rtems_initialize_start_multitasking()
Do not return from rtems_initialize_start_multitasking() and call rtems_fatal() instead with a fatal source of RTEMS_FATAL_SOURCE_EXIT and a fatal code with the exit status. Remove all bsp_cleanup() functions. The boot_card() is now a no return function.
Diffstat (limited to 'c/src/lib/libbsp/shared/include')
-rw-r--r--c/src/lib/libbsp/shared/include/bootcard.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/shared/include/bootcard.h b/c/src/lib/libbsp/shared/include/bootcard.h
index ff9235c3ed..f3de76036c 100644
--- a/c/src/lib/libbsp/shared/include/bootcard.h
+++ b/c/src/lib/libbsp/shared/include/bootcard.h
@@ -72,8 +72,6 @@ void bsp_predriver_hook(void);
void bsp_postdriver_hook(void);
-void bsp_cleanup(uint32_t status);
-
void bsp_reset(void);
/**
@@ -108,15 +106,12 @@ void bsp_reset(void);
* - 1st task executes C++ global constructors
* - .... application runs ...
* - exit
- * - back to here eventually
- * - bsp_cleanup()
- *
- * If something goes wrong bsp_cleanup() will be called out of order.
+ * - will not return to here
*
* This style of initialization ensures that the C++ global constructors are
* executed after RTEMS is initialized.
*/
-uint32_t boot_card(const char *cmdline);
+void boot_card(const char *cmdline) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
#ifdef CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
/**