[rtems commit] bsps: Delete bspreset_fatal.c
Sebastian Huber
sebh at rtems.org
Mon Jun 24 08:48:40 UTC 2013
Module: rtems
Branch: master
Commit: 27b207a82a2e2e4ca53e18a4b7b145c81b4dae8f
Changeset: http://git.rtems.org/rtems/commit/?id=27b207a82a2e2e4ca53e18a4b7b145c81b4dae8f
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Jun 21 15:10:48 2013 +0200
bsps: Delete bspreset_fatal.c
Use bspreset_loop.c instead. This avoids infinite recursion.
---
c/src/lib/libbsp/powerpc/haleakala/Makefile.am | 2 +-
c/src/lib/libbsp/powerpc/virtex/Makefile.am | 2 +-
c/src/lib/libbsp/sh/gensh1/Makefile.am | 2 +-
c/src/lib/libbsp/shared/bspreset_fatal.c | 15 ---------------
4 files changed, 3 insertions(+), 18 deletions(-)
diff --git a/c/src/lib/libbsp/powerpc/haleakala/Makefile.am b/c/src/lib/libbsp/powerpc/haleakala/Makefile.am
index 0e7687f..c56a228 100644
--- a/c/src/lib/libbsp/powerpc/haleakala/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/haleakala/Makefile.am
@@ -26,7 +26,7 @@ libbsp_a_SOURCES =
# startup
libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \
- ../../shared/bspreset_fatal.c ../../shared/bsppost.c \
+ ../../shared/bspreset_loop.c ../../shared/bsppost.c \
startup/bspstart.c ../../shared/bootcard.c \
../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \
../../shared/bsppretaskinghook.c ../../shared/sbrk.c \
diff --git a/c/src/lib/libbsp/powerpc/virtex/Makefile.am b/c/src/lib/libbsp/powerpc/virtex/Makefile.am
index 6faa494..ef6e206 100644
--- a/c/src/lib/libbsp/powerpc/virtex/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/virtex/Makefile.am
@@ -32,7 +32,7 @@ libbsp_a_SOURCES =
# startup
libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bspgetworkarea.c \
- ../../shared/bspreset_fatal.c ../../shared/bsplibc.c \
+ ../../shared/bspreset_loop.c ../../shared/bsplibc.c \
../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.c \
../../shared/sbrk.c ../../shared/gnatinstallhandler.c
diff --git a/c/src/lib/libbsp/sh/gensh1/Makefile.am b/c/src/lib/libbsp/sh/gensh1/Makefile.am
index 1558354..c6249ed 100644
--- a/c/src/lib/libbsp/sh/gensh1/Makefile.am
+++ b/c/src/lib/libbsp/sh/gensh1/Makefile.am
@@ -34,7 +34,7 @@ CLEANFILES = scitab.c
# startup
libbsp_a_SOURCES += ../../shared/bsplibc.c ../../shared/bsppost.c \
../../shared/bsppredriverhook.c ../shared/bspstart.c \
- ../../shared/bspclean.c ../../shared/bspreset_fatal.c \
+ ../../shared/bspclean.c ../../shared/bspreset_loop.c \
../../shared/bspgetworkarea.c ../../shared/bsppretaskinghook.c \
../../shared/sbrk.c ../../shared/bootcard.c ../shared/bsphwinit.c \
../../shared/gnatinstallhandler.c
diff --git a/c/src/lib/libbsp/shared/bspreset_fatal.c b/c/src/lib/libbsp/shared/bspreset_fatal.c
deleted file mode 100644
index 54f6486..0000000
--- a/c/src/lib/libbsp/shared/bspreset_fatal.c
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * COPYRIGHT (c) 1989-2008.
- * On-Line Applications Research Corporation (OAR).
- *
- * 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 <rtems.h>
-
-void bsp_reset( void )
-{
- rtems_fatal_error_occurred(0);
-}
More information about the vc
mailing list