diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-07-29 07:22:03 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-07-30 07:25:13 +0200 |
commit | c5fd79cd4704a4270ba0114a1009ab8556f997c9 (patch) | |
tree | 7314b49f161295f7229103196cddf0c5062ffbd4 /bsps/arm/raspberrypi/start/bspstarthooks.c | |
parent | record: Add support for thread names (diff) | |
download | rtems-c5fd79cd4704a4270ba0114a1009ab8556f997c9.tar.bz2 |
arm/raspberrypi: Fix linker map
Add NULL-pointer protection. Make MMU table read-only. Move vector
table to start section.
Close #3774.
Diffstat (limited to 'bsps/arm/raspberrypi/start/bspstarthooks.c')
-rw-r--r-- | bsps/arm/raspberrypi/start/bspstarthooks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/arm/raspberrypi/start/bspstarthooks.c b/bsps/arm/raspberrypi/start/bspstarthooks.c index b39c8b1959..3f8c680bc0 100644 --- a/bsps/arm/raspberrypi/start/bspstarthooks.c +++ b/bsps/arm/raspberrypi/start/bspstarthooks.c @@ -87,7 +87,7 @@ void BSP_START_TEXT_SECTION bsp_start_hook_0(void) arm_cp15_set_translation_table_base_control_register(0); /* Clear Secure or Non-secure Vector Base Address Register */ - arm_cp15_set_vector_base_address(0); + arm_cp15_set_vector_base_address(bsp_vector_table_begin); #ifdef RTEMS_SMP if (cpu_index_self == 0) { |