summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-12-22 13:10:53 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-12-23 09:24:49 +0100
commit016bcb3f9d82a0c02aab87326ce94bee0365a956 (patch)
tree2836a0e068d7da84eb9a8267018a88e62f77b955
parentbsps: Use header file for GIC architecture support (diff)
downloadrtems-016bcb3f9d82a0c02aab87326ce94bee0365a956.tar.bz2
bsps/arm: Rely on initialized vector table
The arm_cp15_set_exception_handler() is a complicated function which should be avoided if possible. Update #4202.
-rw-r--r--bsps/arm/include/dev/irq/arm-gic-arch.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/bsps/arm/include/dev/irq/arm-gic-arch.h b/bsps/arm/include/dev/irq/arm-gic-arch.h
index fe981da4f7..c9931be61a 100644
--- a/bsps/arm/include/dev/irq/arm-gic-arch.h
+++ b/bsps/arm/include/dev/irq/arm-gic-arch.h
@@ -37,7 +37,6 @@
#ifndef _RTEMS_DEV_IRQ_ARM_GIC_ARM_H
#define _RTEMS_DEV_IRQ_ARM_GIC_ARM_H
-#include <libcpu/arm-cp15.h>
#include <bsp/irq-generic.h>
#include <rtems/score/armv4.h>
@@ -55,10 +54,10 @@ static inline void arm_interrupt_handler_dispatch(rtems_vector_number vector)
static inline void arm_interrupt_facility_set_exception_handler(void)
{
- arm_cp15_set_exception_handler(
- ARM_EXCEPTION_IRQ,
- _ARMV4_Exception_interrupt
- );
+ /*
+ * There is no need to install _ARMV4_Exception_interrupt() since this
+ * handler is already set by start.S.
+ */
}
#ifdef __cplusplus