summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2016-09-17 17:09:11 +0200
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2016-10-02 11:30:59 +0200
commit528c7d4bc89e68044a6b56effc4f5f955052e3d7 (patch)
tree04431e223b72f2ad3df216788fc6390ff6330036
parentarm/raspberrypi: minimized mainline patch move MMU in front of application im... (diff)
downloadrtems-528c7d4bc89e68044a6b56effc4f5f955052e3d7.tar.bz2
bsps/arm: Export bsp_start_hook_0_done symbol from ARM start.S.
The symbol can be used by bsp_start_hook_0 when complete RAM memory is initialization and overwritten during BSP self-test. The test overwrites even memory used to store return address / link register and regular resturn from bsp_start_hook_0 is not possible then.
-rw-r--r--c/src/lib/libbsp/arm/shared/start/start.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/shared/start/start.S b/c/src/lib/libbsp/arm/shared/start/start.S
index 30501be1e8..cb66d82483 100644
--- a/c/src/lib/libbsp/arm/shared/start/start.S
+++ b/c/src/lib/libbsp/arm/shared/start/start.S
@@ -65,6 +65,7 @@
.globl bsp_start_vector_table_end
.globl bsp_start_vector_table_size
.globl bsp_vector_table_size
+ .globl bsp_start_hook_0_done
.section ".bsp_start_text", "ax"