mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-26 19:38:29 +08:00
2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1824/cpukit * misc/interr.c, spurious/spinit.c: 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. bsp_cleanup() prototype changed.
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||
|
||||
PR 1824/cpukit
|
||||
* misc/interr.c, spurious/spinit.c: 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. bsp_cleanup()
|
||||
prototype changed.
|
||||
|
||||
2011-03-22 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||
|
||||
PR 1772/bsps
|
||||
|
||||
@@ -47,7 +47,6 @@
|
||||
* this phase of install. jsg
|
||||
*/
|
||||
void outbyte(char);
|
||||
void bsp_cleanup( void );
|
||||
|
||||
#define RAW_PUTS(str) \
|
||||
{ register char *ptr = str; \
|
||||
@@ -91,7 +90,7 @@ void volatile _Internal_error_Occurred(
|
||||
RAW_PUTS(").\r\n");
|
||||
|
||||
/* configure peripherals for a safe exit */
|
||||
bsp_cleanup();
|
||||
bsp_cleanup(1);
|
||||
|
||||
_CPU_Fatal_halt( the_error );
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@ rtems_isr Spurious_Isr(
|
||||
RAW_PUTI(sp);
|
||||
RAW_PUTS("\n\r");
|
||||
#endif
|
||||
bsp_cleanup();
|
||||
bsp_cleanup(1);
|
||||
|
||||
/* BDM SIGEMT */
|
||||
__asm__ (" .word 0x4afa");
|
||||
|
||||
Reference in New Issue
Block a user