summaryrefslogtreecommitdiffstats
path: root/bsps/arm/xen
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/xen
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/xen')
-rw-r--r--bsps/arm/xen/start/bspstarthooks.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/bsps/arm/xen/start/bspstarthooks.c b/bsps/arm/xen/start/bspstarthooks.c
index 120535c60f..a9e1fbbfb1 100644
--- a/bsps/arm/xen/start/bspstarthooks.c
+++ b/bsps/arm/xen/start/bspstarthooks.c
@@ -28,7 +28,6 @@
#include <bsp.h>
#include <bsp/start.h>
-#include <bsp/arm-a9mpcore-start.h>
BSP_START_TEXT_SECTION void bsp_start_hook_0(void)
{
@@ -37,7 +36,6 @@ BSP_START_TEXT_SECTION void bsp_start_hook_0(void)
BSP_START_TEXT_SECTION void bsp_start_hook_1(void)
{
- arm_a9mpcore_start_set_vector_base();
bsp_start_copy_sections();
bsp_xen_setup_mmu_and_cache();
bsp_start_clear_bss();