summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-16 06:39:49 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-19 07:15:47 +0100
commit0ce6bf3ff5f2da5e4fe7fa6434d7b4c2a9562929 (patch)
treea53b76f94556282637b0e6f68e2e13efbb521143
parentbsps/bfin: Use interrupt stack for init stack (diff)
downloadrtems-0ce6bf3ff5f2da5e4fe7fa6434d7b4c2a9562929.tar.bz2
bsps/epiphany: Use interrupt stack for init stack
Update #3459.
-rw-r--r--bsps/epiphany/epiphany_sim/start/start.S6
1 files 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: