[rtems commit] bsps/epiphany: Use interrupt stack for init stack
Sebastian Huber
sebh at rtems.org
Mon Nov 19 06:21:10 UTC 2018
Module: rtems
Branch: master
Commit: 0ce6bf3ff5f2da5e4fe7fa6434d7b4c2a9562929
Changeset: http://git.rtems.org/rtems/commit/?id=0ce6bf3ff5f2da5e4fe7fa6434d7b4c2a9562929
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Nov 16 06:39:49 2018 +0100
bsps/epiphany: Use interrupt stack for init stack
Update #3459.
---
bsps/epiphany/epiphany_sim/start/start.S | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/bsps/epiphany/epiphany_sim/start/start.S b/bsps/epiphany/epiphany_sim/start/start.S
index 7f828ae..c79d23d 100644
--- a/bsps/epiphany/epiphany_sim/start/start.S
+++ b/bsps/epiphany/epiphany_sim/start/start.S
@@ -32,7 +32,7 @@ EXTERN(_ISR_Handler)
EXTERN(bsp_start_vector_table_end)
EXTERN(bsp_start_vector_table_size)
EXTERN(bsp_vector_table_size)
-EXTERN(bsp_section_stack_begin)
+EXTERN(_ISR_Stack_area_end)
PUBLIC(_EPIPHANY_Exception_default)
PUBLIC(bsp_start_vector_table_begin)
@@ -92,8 +92,8 @@ _bsp_start_vector_table_end:
.type _external_start, %function
.normal_start:
/* Initialize the stack and frame pointers */
- mov sp, %low(bsp_section_stack_begin)
- movt sp, %high(bsp_section_stack_begin)
+ mov sp, %low(_ISR_Stack_area_end)
+ movt sp, %high(_ISR_Stack_area_end)
mov fp, sp
cpu0:
More information about the vc
mailing list