Update #3459.
---
 bsps/nios2/nios2_iss/start/start.S | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bsps/nios2/nios2_iss/start/start.S 
b/bsps/nios2/nios2_iss/start/start.S
index 1ffa4fc925..5caa441330 100644
--- a/bsps/nios2/nios2_iss/start/start.S
+++ b/bsps/nios2/nios2_iss/start/start.S
@@ -104,6 +104,9 @@ dcache_init_loop:
 1:
     #------------------------------------------------------
     # jump to (shared) boot_card (never comes back)
+    # use configuration defined stack
+    movhi   sp, %hiadj(_ISR_Stack_area_end - 4)
+    addi    sp, sp, %lo(_ISR_Stack_area_end - 4)
     mov r4, zero
     mov r5, zero
     mov r6, zero
-- 
2.16.4

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to