[PATCH 5/9] bsps/epiphany: Use interrupt stack for init stack

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Nov 16 14:45:47 UTC 2018


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 7f828ae151..c79d23dc86 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:
-- 
2.16.4




More information about the devel mailing list