bsps/sparc: Add BSP_INITIAL_EXTENSION to <bsp.h>

The bsp_fatal_extension() will call BSP_fatal_return().
This commit is contained in:
Sebastian Huber
2012-11-13 09:38:02 +01:00
parent 38c0b1121f
commit 7121cac0cc
7 changed files with 33 additions and 0 deletions
+1
View File
@@ -29,6 +29,7 @@ libbsp_a_SOURCES =
# startup
libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \
../shared/startup/bspfatalextension.c \
startup/bsppredriver.c ../../sparc/shared/bspgetworkarea.c \
../../sparc/shared/bsppretaskinghook.c ../../shared/bsppost.c \
../../shared/bspstart.c ../../shared/bootcard.c ../../shared/bspinit.c \
@@ -33,6 +33,8 @@ extern "C" {
#include <rtems/console.h>
#include <rtems/irq-extension.h>
#include <bsp/default-initial-extension.h>
/*
* BSP provides its own Idle thread body
*/
+1
View File
@@ -46,6 +46,7 @@ libbsp_a_SOURCES =
# startup
libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \
../shared/startup/bspfatalextension.c \
../../shared/bsppost.c startup/bsppredriver.c \
startup/bspstart.c ../../sparc/shared/bsppretaskinghook.c \
../../sparc/shared/bspgetworkarea.c ../../shared/bootcard.c \
@@ -32,6 +32,8 @@ extern "C" {
#include <rtems/console.h>
#include <rtems/irq-extension.h>
#include <bsp/default-initial-extension.h>
/* SPARC CPU variant: LEON2 */
#define LEON2 1
+1
View File
@@ -30,6 +30,7 @@ libbsp_a_SOURCES =
# startup
libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \
../shared/startup/bspfatalextension.c \
../../shared/bsppost.c ../../shared/bootcard.c startup/bspstart.c \
../../sparc/shared/bsppretaskinghook.c startup/bsppredriver.c \
../../sparc/shared/bspgetworkarea.c ../../shared/sbrk.c startup/setvec.c \
@@ -32,6 +32,8 @@ extern "C" {
#include <rtems/console.h>
#include <rtems/irq-extension.h>
#include <bsp/default-initial-extension.h>
/* SPARC CPU variant: LEON3 */
#define LEON3 1
@@ -0,0 +1,24 @@
/*
* Copyright (c) 2012 embedded brains GmbH. All rights reserved.
*
* embedded brains GmbH
* Obere Lagerstr. 30
* 82178 Puchheim
* Germany
* <rtems@embedded-brains.de>
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*/
#include <bsp.h>
void bsp_fatal_extension(
Internal_errors_Source source,
bool is_internal,
Internal_errors_t error
)
{
BSP_fatal_return();
}