[rtems commit] powerpc: Remove use of proc_ptr
Sebastian Huber
sebh at rtems.org
Mon Nov 12 14:43:04 UTC 2018
Module: rtems
Branch: master
Commit: ed9da8e82108cddfe644c0b262aa3d4c8d434304
Changeset: http://git.rtems.org/rtems/commit/?id=ed9da8e82108cddfe644c0b262aa3d4c8d434304
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Nov 9 07:56:48 2018 +0100
powerpc: Remove use of proc_ptr
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(-)
diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am
index 815c927..5e7d471 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 85864ff..a2b9278 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 c42c2e2..0000000
--- 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 );
-}
More information about the vc
mailing list