summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/beatnik/startup/bspclean.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/beatnik/startup/bspclean.c15
1 files changed, 12 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/powerpc/beatnik/startup/bspclean.c b/c/src/lib/libbsp/powerpc/beatnik/startup/bspclean.c
index 1b63003e1c..1539e44cf5 100644
--- a/c/src/lib/libbsp/powerpc/beatnik/startup/bspclean.c
+++ b/c/src/lib/libbsp/powerpc/beatnik/startup/bspclean.c
@@ -2,16 +2,25 @@
#include <bsp/bootcard.h>
#include <rtems/bspIo.h>
-void bsp_cleanup(
- uint32_t status
+void bsp_fatal_extension(
+ rtems_fatal_source source,
+ bool is_internal,
+ rtems_fatal_code error
)
{
/* We can't go back to MotLoad since we blew it's memory area
* and vectors. Just pull the reset line...
*/
printk(
- "bsp_cleanup(): RTEMS terminated -- no way back to MotLoad "
+ "bsp_fatal_extension(): RTEMS terminated -- no way back to MotLoad "
"so I reset the card\n"
);
bsp_reset();
}
+
+void bsp_cleanup(
+ uint32_t status
+)
+{
+ rtems_fatal( RTEMS_FATAL_SOURCE_EXIT, status );
+}