diff options
author | Gedare Bloom <gedare@rtems.org> | 2014-10-13 15:07:10 -0400 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2014-10-13 15:07:10 -0400 |
commit | 2d7029d55940d9fcf1101c7702d86dae17474769 (patch) | |
tree | 62e927009fed573592009986ea52ff383134e12e /c/src/lib/libbsp/sparc64 | |
parent | sparc64: fix warnings in cpukit/score/cpu (diff) | |
download | rtems-2d7029d55940d9fcf1101c7702d86dae17474769.tar.bz2 |
sparc64: remove sparc64_install_isr_entries and its callers.
sparc64_install_isr_entries function is no longer used. Removing it also
allows to use the default bsppredriverhook for usiii and bspstart for niagara.
Diffstat (limited to 'c/src/lib/libbsp/sparc64')
-rw-r--r-- | c/src/lib/libbsp/sparc64/niagara/Makefile.am | 3 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc64/shared/startup/bsppredriverhook.c | 19 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc64/shared/startup/bspstart.c | 22 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc64/usiii/Makefile.am | 3 |
4 files changed, 2 insertions, 45 deletions
diff --git a/c/src/lib/libbsp/sparc64/niagara/Makefile.am b/c/src/lib/libbsp/sparc64/niagara/Makefile.am index 0cde12eaa6..3854e3b36f 100644 --- a/c/src/lib/libbsp/sparc64/niagara/Makefile.am +++ b/c/src/lib/libbsp/sparc64/niagara/Makefile.am @@ -44,7 +44,7 @@ startup_SOURCES = startup/bspclean.c startup/m5op_sparc.S \ ../../shared/bsppost.c \ ../../shared/bootcard.c ../../shared/sbrk.c \ ../../shared/bspgetworkarea.c \ - ../shared/startup/bspstart.c \ + ../../shared/bspstart.c \ ../shared/startup/setvec.c \ ../../shared/gnatinstallhandler.c \ ../shared/helenos/boot/genarch/balloc.c \ @@ -73,7 +73,6 @@ libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \ libbsp_a_LIBADD = \ ../../../libcpu/@RTEMS_CPU@/shared/shared-score.rel \ ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ - ../../../libcpu/@RTEMS_CPU@/shared/interrupts.rel \ ../../../libcpu/@RTEMS_CPU@/shared/sparc64-syscall.rel include $(srcdir)/preinstall.am diff --git a/c/src/lib/libbsp/sparc64/shared/startup/bsppredriverhook.c b/c/src/lib/libbsp/sparc64/shared/startup/bsppredriverhook.c deleted file mode 100644 index fd3927ad3a..0000000000 --- a/c/src/lib/libbsp/sparc64/shared/startup/bsppredriverhook.c +++ /dev/null @@ -1,19 +0,0 @@ -/* - * This is a bsp_predriver_hook routine for sparc64 - * - * COPYRIGHT (c) 1989-2007. - * 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.org/license/LICENSE. - */ - -#include <bsp/bootcard.h> - -extern void sparc64_install_isr_entries(void); - -void bsp_predriver_hook( void ) -{ - sparc64_install_isr_entries(); -} diff --git a/c/src/lib/libbsp/sparc64/shared/startup/bspstart.c b/c/src/lib/libbsp/sparc64/shared/startup/bspstart.c deleted file mode 100644 index f6c190b67a..0000000000 --- a/c/src/lib/libbsp/sparc64/shared/startup/bspstart.c +++ /dev/null @@ -1,22 +0,0 @@ -/* - * This routine does the bulk of the system initialization. - */ - -/* - * COPYRIGHT (c) 1989-1999. - * 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.org/license/LICENSE. - */ - -#include <bsp.h> -#include <bsp/bootcard.h> - -extern void sparc64_install_isr_entries(void); - -void bsp_start( void ) -{ - sparc64_install_isr_entries(); -} diff --git a/c/src/lib/libbsp/sparc64/usiii/Makefile.am b/c/src/lib/libbsp/sparc64/usiii/Makefile.am index 10c0b35e29..85f496aaa9 100644 --- a/c/src/lib/libbsp/sparc64/usiii/Makefile.am +++ b/c/src/lib/libbsp/sparc64/usiii/Makefile.am @@ -89,7 +89,7 @@ startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \ ../../shared/bsppost.c \ ../../shared/bootcard.c ../../shared/sbrk.c \ ../../shared/bspgetworkarea.c \ - ../shared/startup/bsppredriverhook.c \ + ../../shared/bsppredriverhook.c \ ../shared/startup/setvec.c \ ../../shared/gnatinstallhandler.c \ ../shared/helenos/boot/genarch/balloc.c \ @@ -124,7 +124,6 @@ libbsp_a_SOURCES = $(startup_SOURCES) $(mmu_SOURCES) $(clock_SOURCES) $(console_ libbsp_a_LIBADD = \ ../../../libcpu/@RTEMS_CPU@/shared/shared-score.rel \ ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ - ../../../libcpu/@RTEMS_CPU@/shared/interrupts.rel \ ../../../libcpu/@RTEMS_CPU@/shared/sparc64-syscall.rel include $(srcdir)/preinstall.am |