[PATCH 15/19] powerpc: Remove use of proc_ptr

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Nov 9 12:49:07 UTC 2018


Update #3585.
---
 cpukit/Makefile.am                                 |  1 -
 cpukit/score/cpu/powerpc/include/rtems/score/cpu.h | 12 --------
 cpukit/score/cpu/powerpc/ppc-isr-vector-install.c  | 35 ----------------------
 3 files changed, 48 deletions(-)
 delete mode 100644 cpukit/score/cpu/powerpc/ppc-isr-vector-install.c

diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am
index 815c927c6d..5e7d471329 100644
--- a/cpukit/Makefile.am
+++ b/cpukit/Makefile.am
@@ -1695,7 +1695,6 @@ librtemscpu_a_SOURCES += score/cpu/powerpc/cpu.c
 librtemscpu_a_SOURCES += score/cpu/powerpc/ppc-context-volatile-clobber.S
 librtemscpu_a_SOURCES += score/cpu/powerpc/ppc-context-validate.S
 librtemscpu_a_SOURCES += score/cpu/powerpc/ppc-isr-disable-mask.S
-librtemscpu_a_SOURCES += score/cpu/powerpc/ppc-isr-vector-install.c
 
 endif
 
diff --git a/cpukit/score/cpu/powerpc/include/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/include/rtems/score/cpu.h
index 85864ff71b..a2b9278925 100644
--- a/cpukit/score/cpu/powerpc/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/powerpc/include/rtems/score/cpu.h
@@ -905,18 +905,6 @@ void _CPU_Context_Initialize(
 
 void _CPU_Initialize(void);
 
-/*
- *  _CPU_ISR_install_vector
- *
- *  This routine installs an interrupt vector.
- */
-
-void _CPU_ISR_install_vector(
-  uint32_t    vector,
-  proc_ptr    new_handler,
-  proc_ptr   *old_handler
-);
-
 void *_CPU_Thread_Idle_body( uintptr_t ignored );
 
 /*
diff --git a/cpukit/score/cpu/powerpc/ppc-isr-vector-install.c b/cpukit/score/cpu/powerpc/ppc-isr-vector-install.c
deleted file mode 100644
index c42c2e2c51..0000000000
--- a/cpukit/score/cpu/powerpc/ppc-isr-vector-install.c
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
- *  @file
- *
- *  @brief Install Interrupt Handler Vector
- */
-
-/*
- * Copyright (c) 2012 embedded brains GmbH.  All rights reserved.
- *
- *  embedded brains GmbH
- *  Obere Lagerstr. 30
- *  82178 Puchheim
- *  Germany
- *  <rtems at 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.org/license/LICENSE.
- */
-
-#ifdef HAVE_CONFIG_H
-  #include "config.h"
-#endif
-
-#include <rtems/score/cpu.h>
-#include <rtems/score/interr.h>
-
-void _CPU_ISR_install_vector(
-  uint32_t vector,
-  proc_ptr new_handler,
-  proc_ptr *old_handler
-)
-{
-  _Internal_error( INTERNAL_ERROR_CPU_ISR_INSTALL_VECTOR );
-}
-- 
2.16.4




More information about the devel mailing list