[rtems commit] bsp/or1k: Use interrupt stack for init stack

Sebastian Huber sebh at rtems.org
Wed Nov 14 07:00:16 UTC 2018


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Nov 14 07:58:38 2018 +0100

bsp/or1k: Use interrupt stack for init stack

Update #3459.

---

 bsps/or1k/generic_or1k/start/start.S | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bsps/or1k/generic_or1k/start/start.S b/bsps/or1k/generic_or1k/start/start.S
index 26991c8..82f7883 100644
--- a/bsps/or1k/generic_or1k/start/start.S
+++ b/bsps/or1k/generic_or1k/start/start.S
@@ -29,7 +29,7 @@
   .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
 
   .extern exception_frame_save
   .extern _OR1K_Exception_Process
@@ -150,8 +150,8 @@ _start:
   l.mtspr r0, r1, 17
 
   /* load stack and frame pointers */
-  l.movhi r1, hi(bsp_section_stack_begin)
-  l.ori   r1, r1, lo(bsp_section_stack_begin)
+  l.movhi r1, hi(_ISR_Stack_area_end)
+  l.ori   r1, r1, lo(_ISR_Stack_area_end)
   l.add   r2, r0, r1
 
 /* Clearing .bss */



More information about the vc mailing list