summaryrefslogtreecommitdiffstats
path: root/bsps/shared/start/bspfatal-default.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-05-26bsps: Improve Doxygen file commentsSebastian Huber1-0/+9
2022-09-23bsps: Fix format specifierSebastian Huber1-1/+1
Close #4722.
2022-06-15bsps/shared/*: Change license to BSD-2Joel Sherrill1-3/+22
Updates #3053.
2021-07-23bsps: Fix bsp_fatal_extension()Sebastian Huber1-0/+3
The heap protection is conditional.
2021-07-23bsp: Remove fatal from exit(0). Add extended heap error outputChris Johns1-13/+70
2020-12-10bsps: Print CPU in default fatal error extensionSebastian Huber1-1/+8
2019-07-30Add and use THREAD_DEFAULT_MAXIMUM_NAME_SIZESebastian Huber1-1/+1
2018-04-20bsps: Move bspclean.c to bspsSebastian Huber1-0/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-03-07bsps: More verbose bsp_fatal_extension()Sebastian Huber1-0/+20
Close #3318.
2017-12-02bsps: Print internal error textSebastian Huber1-9/+25
Update #3248.
2017-11-22bsps: Add BSP_VERBOSE_FATAL_EXTENSIONSebastian Huber1-1/+19
Add BSP_VERBOSE_FATAL_EXTENSION to RTEMS_BSP_CLEANUP_OPTIONS to optionally print the RTEMS version, the fatal source and the fatal code in the shared bsp_fatal_extension(). Close #3248.
2016-12-12Rename is_internal to always_set_to_falseSebastian Huber1-1/+1
Update #2825.
2016-05-11bsp/shared: Print the exception stack frame before the shut down message.Chris Johns1-7/+7
This lets you see the exception otherwise the key press clears the screen on the reboot on a PC BSP. Also state there has been a fatal error.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns1-1/+1
2012-12-07score: rtems_initialize_start_multitasking()Sebastian Huber1-7/+0
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.
2012-11-27score: Add CPU_Exception_frameSebastian Huber1-1/+7
Add CPU port type CPU_Exception_frame and function _CPU_Exception_frame_print(). The CPU ports of avr, bfin, h8300, lm32, m32c, m32r, m68k, nios2, sh, sparc64, and v850 use an empty default implementation of _CPU_Exception_frame_print(). Add rtems_exception_frame and rtems_exception_frame_print(). Add RTEMS_FATAL_SOURCE_EXCEPTION for CPU exceptions. Use rtems_fatal() with source RTEMS_FATAL_SOURCE_EXCEPTION in CPU ports of i386, powerpc, and sparc for unexpected exceptions. Add third parameter to RTEMS_BSP_CLEANUP_OPTIONS() which controls the BSP_PRINT_EXCEPTION_CONTEXT define used in the default bsp_fatal_extension(). Add test sptests/spfatal26.
2012-11-15score: Add RTEMS_FATAL_SOURCE_EXITSebastian Huber1-2/+9
Include <bsp/default-initial-extension.h> in all BSPs. Call rtems_fatal() with RTEMS_FATAL_SOURCE_EXIT as source and the exit() status code as fatal code in every bsp_cleanup(). Move previous bsp_cleanup() code into bsp_fatal_extension().
2012-11-14bsps: Include <bsp/bootcard.h>Sebastian Huber1-3/+1
Use <bsp/bootcard.h> to get prototype for bsp_cleanup(). Fix bsp_cleanup() definition if necessary.
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-2/+0
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
2011-07-132011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill1-1/+3
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.
2009-11-30Whitespace removal.Ralf Corsepius1-1/+1
2008-09-222008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-0/+25
* bspclean.c, include/bootcard.h: Use standardized bsp_cleanup() which can optionally print a message, poll for user to press key, and call bsp_reset(). Using this eliminates the various bsp_cleanup() implementations which had their own implementation and variety of string constants. * bspreset.c, bspreset_fatal.c, bspreset_loop.c: New files.
2003-09-042003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-1/+1
* bootcard.c, bspclean.c, clockdrv_shell.c, console-polled.c, console.c, ide_ctrl.c, main.c, sbrk.c, setvec.c, tod.c, tod.h, include/coverhd.h: URL for license changed.
1999-11-17Updated copyright notice.Joel Sherrill1-2/+1
1998-03-21Switch to using a shared main() for all of the embedded BSPsJoel Sherrill1-9/+3
based on the GNU tools. This usually involved correcting the type of bsp_start(), bsp_cleanup(), adjusting the start code to call the right start routine (the shared boot_card()), and then removing code from bsp_start() which was performed in the new boot_card()/main() path.
1998-02-17updated copyright to 1998Joel Sherrill1-1/+1
1997-10-08Fixed typo in the pointer to the license terms.Joel Sherrill1-2/+2
1997-04-22headers updated to reflect new style copyright notice as partJoel Sherrill1-5/+5
of switching to the modified GNU GPL.