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

Pavel Pisa ppisa at rtems.org
Thu Sep 22 07:58:09 UTC 2016

Module:    rtems
Branch:    master
Commit:    a396ed4778bb989c5651c0f05528cca1ea474d42
Changeset: http://git.rtems.org/rtems/commit/?id=a396ed4778bb989c5651c0f05528cca1ea474d42

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