From ed9da8e82108cddfe644c0b262aa3d4c8d434304 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 9 Nov 2018 07:56:48 +0100 Subject: [PATCH] powerpc: Remove use of proc_ptr Update #3585. --- cpukit/Makefile.am | 1 - .../cpu/powerpc/include/rtems/score/cpu.h | 12 ------- .../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 - * - * - * 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 -#include - -void _CPU_ISR_install_vector( - uint32_t vector, - proc_ptr new_handler, - proc_ptr *old_handler -) -{ - _Internal_error( INTERNAL_ERROR_CPU_ISR_INSTALL_VECTOR ); -}