[rtems commit] bsps/arm: Export bsp_start_hook_0_done symbol from ARM start.S.

Pavel Pisa ppisa at rtems.org
Sun Oct 2 09:38:19 UTC 2016


Module:    rtems
Branch:    4.11
Commit:    528c7d4bc89e68044a6b56effc4f5f955052e3d7
Changeset: http://git.rtems.org/rtems/commit/?id=528c7d4bc89e68044a6b56effc4f5f955052e3d7

Author:    Pavel Pisa <pisa at cmp.felk.cvut.cz>
Date:      Sat Sep 17 17:09:11 2016 +0200

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.

---

 c/src/lib/libbsp/arm/shared/start/start.S | 1 +
 1 file changed, 1 insertion(+)

diff --git a/c/src/lib/libbsp/arm/shared/start/start.S b/c/src/lib/libbsp/arm/shared/start/start.S
index 30501be..cb66d82 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"
 




More information about the vc mailing list