bsps: Move bsp_generic_fatal_code to new file

Add bsp_generic_fatal().
This commit is contained in:
Sebastian Huber
2013-06-20 11:44:04 +02:00
parent 5f91272e9b
commit ade27c69eb
8 changed files with 58 additions and 29 deletions

View File

@@ -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(