diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-06-21 15:10:48 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-06-24 10:53:58 +0200 |
commit | 27b207a82a2e2e4ca53e18a4b7b145c81b4dae8f (patch) | |
tree | 585f2c55855ca5874bf7a8285c29b5c9fde54a14 /c | |
parent | arm: Fix default exception prologues (diff) | |
download | rtems-27b207a82a2e2e4ca53e18a4b7b145c81b4dae8f.tar.bz2 |
bsps: Delete bspreset_fatal.c
Use bspreset_loop.c instead. This avoids infinite recursion.
Diffstat (limited to 'c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/haleakala/Makefile.am | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/virtex/Makefile.am | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/sh/gensh1/Makefile.am | 2 | ||||
-rw-r--r-- | 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 0e7687fcb6..c56a22803a 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 6faa494fb6..ef6e2068d9 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 15583546dd..c6249edb11 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 54f64868e2..0000000000 --- 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); -} |