forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user