summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared/bspclean.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps: Move bspclean.c to bspsSebastian Huber2018-04-201-99/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: More verbose bsp_fatal_extension()Sebastian Huber2018-03-071-0/+20
| | | | Close #3318.
* bsps: Print internal error textSebastian Huber2017-12-021-9/+25
| | | | Update #3248.
* bsps: Add BSP_VERBOSE_FATAL_EXTENSIONSebastian Huber2017-11-221-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.
* Rename is_internal to always_set_to_falseSebastian Huber2016-12-121-1/+1
| | | | Update #2825.
* bsp/shared: Print the exception stack frame before the shut down message.Chris Johns2016-05-111-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.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* score: rtems_initialize_start_multitasking()Sebastian Huber2012-12-071-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.
* score: Add CPU_Exception_frameSebastian Huber2012-11-271-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.
* score: Add RTEMS_FATAL_SOURCE_EXITSebastian Huber2012-11-151-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().
* bsps: Include <bsp/bootcard.h>Sebastian Huber2012-11-141-3/+1
| | | | | Use <bsp/bootcard.h> to get prototype for bsp_cleanup(). Fix bsp_cleanup() definition if necessary.
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-111-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-13 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-07-131-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.
* Whitespace removal.Ralf Corsepius2009-11-301-1/+1
|
* 2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-221-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-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-09-041-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.
* Updated copyright notice.Joel Sherrill1999-11-171-2/+1
|
* Switch to using a shared main() for all of the embedded BSPsJoel Sherrill1998-03-211-0/+17
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.