From 27b207a82a2e2e4ca53e18a4b7b145c81b4dae8f Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 21 Jun 2013 15:10:48 +0200 Subject: 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(-) delete mode 100644 c/src/lib/libbsp/shared/bspreset_fatal.c 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 - -void bsp_reset( void ) -{ - rtems_fatal_error_occurred(0); -} -- cgit v1.2.3