[rtems commit] bsps/nios2: Use interrupt stack for init stack
Sebastian Huber
sebh at rtems.org
Mon Nov 19 06:21:34 UTC 2018
Module: rtems
Branch: master
Commit: 38f81bfc210590c8175b9d2dbc4d38f400df51cb
Changeset: http://git.rtems.org/rtems/commit/?id=38f81bfc210590c8175b9d2dbc4d38f400df51cb
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Nov 16 08:01:24 2018 +0100
bsps/nios2: Use interrupt stack for init stack
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 1ffa4fc..5caa441 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
More information about the vc
mailing list