summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/raspberrypi/include/irq.h
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2016-07-23 12:07:10 +0200
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2016-10-02 10:40:35 +0200
commitacb488ff5932931bfe6a2efa758788e273fa6948 (patch)
tree22bd130fd2d95144cae83b0ebcb87ab575f1c2d4 /c/src/lib/libbsp/arm/raspberrypi/include/irq.h
parentarm/raspberrypi: ensure that correct RPI_PERIPHERAL_BASE is provided by raspb... (diff)
downloadrtems-acb488ff5932931bfe6a2efa758788e273fa6948.tar.bz2
arm/raspberrypi: remove duplicate setup of IRQ handler in the main ARM exception table.
Exception table setup is processed by common CPU architecture support. For ARM architecture, it can be found in the file rtems/c/src/lib/libbsp/arm/shared/start/start.S and ends by bsp_vector_table_copy_done label. The actual tabel content can be found at bsp_start_vector_table_begin For ARMv7-A and even other variant with hypervisor mode support, it is even not necessary to copy table to address 0 at all because CP15 register can be used to specify alternative table start address arm_cp15_set_vector_base_address(&)bsp_start_vector_table_begin; ARMv7-M have register to set exception table base as well. Updates #2783
Diffstat (limited to 'c/src/lib/libbsp/arm/raspberrypi/include/irq.h')
-rw-r--r--c/src/lib/libbsp/arm/raspberrypi/include/irq.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/arm/raspberrypi/include/irq.h b/c/src/lib/libbsp/arm/raspberrypi/include/irq.h
index 8436c2dfc6..7ccfd3bf31 100644
--- a/c/src/lib/libbsp/arm/raspberrypi/include/irq.h
+++ b/c/src/lib/libbsp/arm/raspberrypi/include/irq.h
@@ -62,9 +62,5 @@
#define BSP_IRQ_COUNT (BCM2835_INTC_TOTAL_IRQ)
-
-void raspberrypi_set_exception_handler(Arm_symbolic_exception_name exception,
- void (*handler)(void));
-
#endif /* ASM */
#endif /* LIBBSP_ARM_RASPBERRYPI_IRQ_H */