summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-06-22 15:08:37 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-06-24 11:36:27 +0200
commit26a09f2c5b593c52ddd4857563dc310c798ef32e (patch)
tree79861fb83a0ea4e05f412a7fac22bf8b99fa9dce /cpukit/score/cpu
parent6b7a38589a930b8b81d9052280a88a14e9518950 (diff)
downloadrtems-26a09f2c5b593c52ddd4857563dc310c798ef32e.tar.bz2
score: Remove _CPU_Initialize_vectors()
This CPU port macro was not used. Since the _ISR_Vector_table[] is statically allocated, CPU ports could initialize this table in _CPU_Initialize() if necessary. Remove _CPU_Initialize_vectors() to simplify the CPU port interface.
Diffstat (limited to 'cpukit/score/cpu')
-rw-r--r--cpukit/score/cpu/bfin/include/rtems/score/cpu.h9
-rw-r--r--cpukit/score/cpu/lm32/include/rtems/score/cpu.h9
-rw-r--r--cpukit/score/cpu/m68k/include/rtems/score/cpu.h3
-rw-r--r--cpukit/score/cpu/moxie/include/rtems/score/cpu.h5
-rw-r--r--cpukit/score/cpu/nios2/include/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/no_cpu/include/rtems/score/cpu.h11
-rw-r--r--cpukit/score/cpu/or1k/include/rtems/score/cpu.h10
-rw-r--r--cpukit/score/cpu/riscv/include/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/sh/include/rtems/score/cpu.h8
-rw-r--r--cpukit/score/cpu/sparc/include/rtems/score/cpu.h5
-rw-r--r--cpukit/score/cpu/sparc64/include/rtems/score/cpu.h6
-rw-r--r--cpukit/score/cpu/x86_64/include/rtems/score/cpu.h2
12 files changed, 0 insertions, 72 deletions
diff --git a/cpukit/score/cpu/bfin/include/rtems/score/cpu.h b/cpukit/score/cpu/bfin/include/rtems/score/cpu.h
index d17dfbd30a..b1063c9eee 100644
--- a/cpukit/score/cpu/bfin/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/bfin/include/rtems/score/cpu.h
@@ -308,15 +308,6 @@ typedef struct {
/**@{**/
/**
- * Support routine to initialize the RTEMS vector table after it is allocated.
- *
- * Port Specific Information:
- *
- * XXX document implementation including references if appropriate
- */
-#define _CPU_Initialize_vectors()
-
-/**
* Disable all interrupts for an RTEMS critical section. The previous
* level is returned in @a _isr_cookie.
*
diff --git a/cpukit/score/cpu/lm32/include/rtems/score/cpu.h b/cpukit/score/cpu/lm32/include/rtems/score/cpu.h
index 5c890de53e..29af53a53b 100644
--- a/cpukit/score/cpu/lm32/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/lm32/include/rtems/score/cpu.h
@@ -415,15 +415,6 @@ extern Context_Control_fp _CPU_Null_fp_context;
/**@{**/
/**
- * Support routine to initialize the RTEMS vector table after it is allocated.
- *
- * Port Specific Information:
- *
- * XXX document implementation including references if appropriate
- */
-#define _CPU_Initialize_vectors()
-
-/**
* Disable all interrupts for an RTEMS critical section. The previous
* level is returned in @a _isr_cookie.
*
diff --git a/cpukit/score/cpu/m68k/include/rtems/score/cpu.h b/cpukit/score/cpu/m68k/include/rtems/score/cpu.h
index de7f8215bb..65ba0ef496 100644
--- a/cpukit/score/cpu/m68k/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/m68k/include/rtems/score/cpu.h
@@ -350,15 +350,12 @@ extern void* _VBR;
* ISR handler macros
*
* These macros perform the following functions:
- * + initialize the RTEMS vector table
* + disable all maskable CPU interrupts
* + restore previous interrupt level (enable)
* + temporarily restore interrupts (flash)
* + set a particular level
*/
-#define _CPU_Initialize_vectors()
-
#define _CPU_ISR_Disable( _level ) \
m68k_disable_interrupts( _level )
diff --git a/cpukit/score/cpu/moxie/include/rtems/score/cpu.h b/cpukit/score/cpu/moxie/include/rtems/score/cpu.h
index c857734a2e..9959892689 100644
--- a/cpukit/score/cpu/moxie/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/moxie/include/rtems/score/cpu.h
@@ -256,11 +256,6 @@ typedef struct {
*/
/*
- * Support routine to initialize the RTEMS vector table after it is allocated.
- */
-#define _CPU_Initialize_vectors()
-
-/*
* Disable all interrupts for an RTEMS critical section. The previous
* level is returned in _level.
*
diff --git a/cpukit/score/cpu/nios2/include/rtems/score/cpu.h b/cpukit/score/cpu/nios2/include/rtems/score/cpu.h
index 8caec19b5b..69c96280f4 100644
--- a/cpukit/score/cpu/nios2/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/nios2/include/rtems/score/cpu.h
@@ -172,8 +172,6 @@ typedef struct {
uint32_t ipending;
} CPU_Exception_frame;
-#define _CPU_Initialize_vectors()
-
/**
* @brief Macro to disable interrupts.
*
diff --git a/cpukit/score/cpu/no_cpu/include/rtems/score/cpu.h b/cpukit/score/cpu/no_cpu/include/rtems/score/cpu.h
index 09f34b4acd..120b51b633 100644
--- a/cpukit/score/cpu/no_cpu/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/no_cpu/include/rtems/score/cpu.h
@@ -618,17 +618,6 @@ extern Context_Control_fp _CPU_Null_fp_context;
/**
* @addtogroup RTEMSScoreCPUExampleInterrupt
*
- * Support routine to initialize the RTEMS vector table after it is allocated.
- *
- * Port Specific Information:
- *
- * XXX document implementation including references if appropriate
- */
-#define _CPU_Initialize_vectors()
-
-/**
- * @addtogroup RTEMSScoreCPUExampleInterrupt
- *
* Disable all interrupts for an RTEMS critical section. The previous
* level is returned in @a _isr_cookie.
*
diff --git a/cpukit/score/cpu/or1k/include/rtems/score/cpu.h b/cpukit/score/cpu/or1k/include/rtems/score/cpu.h
index 22acfd590e..5cd59df3f4 100644
--- a/cpukit/score/cpu/or1k/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/or1k/include/rtems/score/cpu.h
@@ -244,16 +244,6 @@ typedef Context_Control CPU_Interrupt_frame;
/* ISR handler macros */
/*
- * Support routine to initialize the RTEMS vector table after it is allocated.
- *
- * NO_CPU Specific Information:
- *
- * XXX document implementation including references if appropriate
- */
-
-#define _CPU_Initialize_vectors()
-
-/*
* Disable all interrupts for an RTEMS critical section. The previous
* level is returned in _level.
*
diff --git a/cpukit/score/cpu/riscv/include/rtems/score/cpu.h b/cpukit/score/cpu/riscv/include/rtems/score/cpu.h
index a44b815b12..d9056d0ad1 100644
--- a/cpukit/score/cpu/riscv/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/riscv/include/rtems/score/cpu.h
@@ -147,8 +147,6 @@ typedef struct {
#define CPU_PROVIDES_ISR_IS_IN_PROGRESS FALSE
-#define _CPU_Initialize_vectors()
-
static inline uint32_t riscv_interrupt_disable( void )
{
unsigned long mstatus;
diff --git a/cpukit/score/cpu/sh/include/rtems/score/cpu.h b/cpukit/score/cpu/sh/include/rtems/score/cpu.h
index 0df6aa3f83..364a2bc310 100644
--- a/cpukit/score/cpu/sh/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sh/include/rtems/score/cpu.h
@@ -367,14 +367,6 @@ void CPU_delay( uint32_t microseconds );
*/
/*
- * Support routine to initialize the RTEMS vector table after it is allocated.
- *
- * SH Specific Information: NONE
- */
-
-#define _CPU_Initialize_vectors()
-
-/*
* Disable all interrupts for an RTEMS critical section. The previous
* level is returned in _level.
*/
diff --git a/cpukit/score/cpu/sparc/include/rtems/score/cpu.h b/cpukit/score/cpu/sparc/include/rtems/score/cpu.h
index 6c167e3f08..0daf1d9a28 100644
--- a/cpukit/score/cpu/sparc/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sparc/include/rtems/score/cpu.h
@@ -748,11 +748,6 @@ extern const CPU_Trap_table_entry _CPU_Trap_slot_template;
*/
/**
- * Support routine to initialize the RTEMS vector table after it is allocated.
- */
-#define _CPU_Initialize_vectors()
-
-/**
* Disable all interrupts for a critical section. The previous
* level is returned in _level.
*/
diff --git a/cpukit/score/cpu/sparc64/include/rtems/score/cpu.h b/cpukit/score/cpu/sparc64/include/rtems/score/cpu.h
index e0f56b8e89..3c41a922e7 100644
--- a/cpukit/score/cpu/sparc64/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sparc64/include/rtems/score/cpu.h
@@ -652,12 +652,6 @@ extern const CPU_Trap_table_entry _CPU_Trap_slot_template;
*/
/*
- * Support routine to initialize the RTEMS vector table after it is allocated.
- */
-
-#define _CPU_Initialize_vectors()
-
-/*
* Disable all interrupts for a critical section. The previous
* level is returned in _level.
*/
diff --git a/cpukit/score/cpu/x86_64/include/rtems/score/cpu.h b/cpukit/score/cpu/x86_64/include/rtems/score/cpu.h
index 80dbc25214..1e97250188 100644
--- a/cpukit/score/cpu/x86_64/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/x86_64/include/rtems/score/cpu.h
@@ -155,8 +155,6 @@ typedef struct {
#ifndef ASM
-#define _CPU_Initialize_vectors()
-
#define _CPU_ISR_Enable(_level) \
{ \
amd64_enable_interrupts(); \