diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-06-18 16:44:11 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-06-24 11:36:28 +0200 |
commit | be96cb4345554fac614b252fe8f78dbf32c3a981 (patch) | |
tree | e69c244a4e5ab5dd11bdd4c14ea2c5ef66ef6c34 /bsps/sparc/leon2/include/bsp.h | |
parent | bsps: bsp_interrupt_handler_dispatch_unchecked() (diff) | |
download | rtems-be96cb4345554fac614b252fe8f78dbf32c3a981.tar.bz2 |
sparc: Simplify trap table initialization
Move _ISR_Handler() to a separate file since it is now only used if a handler
is installed by _CPU_ISR_install_raw_handler().
Statically initialize the traps for external interrupts to use the new
_SPARC_Interrupt_trap() which directly dispatches the interrupt handlers
installed by rtems_interrupt_handler_install() via the BSP-provided
_SPARC_Interrupt_dispatch().
Since the trap table is now fully statically initialized, there is no longer a
dependency on the Cache Manager in the default configuration.
Update #4458.
Diffstat (limited to '')
-rw-r--r-- | bsps/sparc/leon2/include/bsp.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/bsps/sparc/leon2/include/bsp.h b/bsps/sparc/leon2/include/bsp.h index bdd9c1ca70..510262206b 100644 --- a/bsps/sparc/leon2/include/bsp.h +++ b/bsps/sparc/leon2/include/bsp.h @@ -119,12 +119,6 @@ void BSP_fatal_exit(uint32_t error); /* Interrupt Service Routine (ISR) pointer */ typedef void (*bsp_shared_isr)(void *arg); -/* Initializes the Shared System Interrupt service */ -extern void BSP_shared_interrupt_init(void); - -/* Called directly from IRQ trap handler TRAP[0x10..0x1F] = IRQ[0..15] */ -void bsp_isr_handler(rtems_vector_number vector); - /* Registers a shared IRQ handler, and enable it at IRQ controller. Multiple * interrupt handlers may use the same IRQ number, all ISRs will be called * when an interrupt on that line is fired. |