summaryrefslogtreecommitdiffstats
path: root/bsps/arm/raspberrypi/start/bspstarthooks.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-12-18 10:11:51 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-12-23 09:19:17 +0100
commit272534eb725f2486b7a32b39d998202a101bd36e (patch)
tree1cd2ae81d871698e49093fb0ec2488d88e0593d9 /bsps/arm/raspberrypi/start/bspstarthooks.c
parentarm: Add support for Arm PMSAv8-32 (diff)
downloadrtems-272534eb725f2486b7a32b39d998202a101bd36e.tar.bz2
bsps/arm: Set VBAR in start.S
Set the VBAR to the vector table in the start section before bsp_start_hook_0() is called to earlier handle exceptions in RTEMS. Set the VBAR to the normal vector table in start.S for the main processor. Secondary processors set it in bsp_start_hook_0(). Update #4202.
Diffstat (limited to 'bsps/arm/raspberrypi/start/bspstarthooks.c')
-rw-r--r--bsps/arm/raspberrypi/start/bspstarthooks.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/bsps/arm/raspberrypi/start/bspstarthooks.c b/bsps/arm/raspberrypi/start/bspstarthooks.c
index eb6546db1c..c46c4f5cbf 100644
--- a/bsps/arm/raspberrypi/start/bspstarthooks.c
+++ b/bsps/arm/raspberrypi/start/bspstarthooks.c
@@ -117,9 +117,6 @@ void BSP_START_TEXT_SECTION bsp_start_hook_0(void)
/* Clear Translation Table Base Control Register */
arm_cp15_set_translation_table_base_control_register(0);
- /* Clear Secure or Non-secure Vector Base Address Register */
- arm_cp15_set_vector_base_address(bsp_vector_table_begin);
-
#ifdef RTEMS_SMP
if (cpu_index_self == 0) {
rpi_ipi_initialize();