diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/shared/bspclean.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/shared/bspclean.c b/c/src/lib/libbsp/shared/bspclean.c index e378d60921..1d6f08a274 100644 --- a/c/src/lib/libbsp/shared/bspclean.c +++ b/c/src/lib/libbsp/shared/bspclean.c @@ -13,8 +13,10 @@ #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 ) { #if (BSP_PRESS_KEY_FOR_RESET) @@ -37,3 +39,8 @@ void bsp_cleanup( bsp_reset(); #endif } + +void bsp_cleanup( uint32_t status ) +{ + rtems_fatal( RTEMS_FATAL_SOURCE_EXIT, status ); +} |