forked from Imagelibrary/rtems
bsps: Move bsp_generic_fatal_code to new file
Add bsp_generic_fatal().
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
#include <rtems.h>
|
||||
|
||||
#include <bsp/vectors.h>
|
||||
#include <bsp/bootcard.h>
|
||||
#include <bsp/generic-fatal.h>
|
||||
|
||||
#define PPC_EXC_ASSERT_OFFSET(field, off) \
|
||||
RTEMS_STATIC_ASSERT( \
|
||||
@@ -145,10 +145,7 @@ static void ppc_exc_initialize_booke(void *vector_base)
|
||||
|
||||
static void ppc_exc_fatal_error(void)
|
||||
{
|
||||
rtems_fatal(
|
||||
RTEMS_FATAL_SOURCE_BSP_GENERIC,
|
||||
BSP_GENERIC_FATAL_EXCEPTION_INITIALIZATION
|
||||
);
|
||||
bsp_generic_fatal(BSP_GENERIC_FATAL_EXCEPTION_INITIALIZATION);
|
||||
}
|
||||
|
||||
void ppc_exc_initialize_with_vector_base(
|
||||
|
||||
Reference in New Issue
Block a user