[rtems commit] bsps/m68k: Use interrupt stack for init stack

Sebastian Huber sebh at rtems.org
Mon Nov 19 06:20:37 UTC 2018


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Nov 16 07:36:04 2018 +0100

bsps/m68k: Use interrupt stack for init stack

Update #3459.

---

 bsps/m68k/av5282/start/start.S       | 1 +
 bsps/m68k/csb360/start/start.S       | 1 +
 bsps/m68k/mcf5206elite/start/start.S | 1 +
 bsps/m68k/mcf5235/start/start.S      | 1 +
 bsps/m68k/uC5282/start/start.S       | 1 +
 5 files changed, 5 insertions(+)

diff --git a/bsps/m68k/av5282/start/start.S b/bsps/m68k/av5282/start/start.S
index 5075851..1142316 100644
--- a/bsps/m68k/av5282/start/start.S
+++ b/bsps/m68k/av5282/start/start.S
@@ -369,6 +369,7 @@ ZEROLOOPTEST:
     /*
      * Right : Now we're ready to boot RTEMS
      */
+    move.l  #_ISR_Stack_area_end,sp | Use configuration defined stack
     clrl    d0          | Pass in null to all boot_card() params
     movel   d0,a7 at -         | command line
     jsr SYM(boot_card)      | Call C boot_card function to startup RTEMS
diff --git a/bsps/m68k/csb360/start/start.S b/bsps/m68k/csb360/start/start.S
index 299c8da..b90db22 100644
--- a/bsps/m68k/csb360/start/start.S
+++ b/bsps/m68k/csb360/start/start.S
@@ -349,6 +349,7 @@ SYM(start_csb360):
 	/*
 	 * Right : Now we're ready to boot RTEMS
 	 */
+	move.l	#_ISR_Stack_area_end,sp	| Use configuration defined stack
 	clrl	d0			| Pass in null to all boot_card() params
 	movel	d0,a7 at -			| command line
 	jsr	SYM(boot_card)		| Call C boot_card function to startup RTEMS
diff --git a/bsps/m68k/mcf5206elite/start/start.S b/bsps/m68k/mcf5206elite/start/start.S
index 57848ff..b797b23 100644
--- a/bsps/m68k/mcf5206elite/start/start.S
+++ b/bsps/m68k/mcf5206elite/start/start.S
@@ -355,6 +355,7 @@ ZEROLOOPTEST:
 	/*
 	 * Right : Now we're ready to boot RTEMS
 	 */
+	move.l	#_ISR_Stack_area_end,sp	| Use configuration defined stack
 	clrl	d0			| Pass in null to all boot_card() params
 	movel	d0,a7 at -			| command line
 	jsr	SYM(boot_card)		| Call C boot_card function to startup RTEMS
diff --git a/bsps/m68k/mcf5235/start/start.S b/bsps/m68k/mcf5235/start/start.S
index 66b8f48..cf33070 100644
--- a/bsps/m68k/mcf5235/start/start.S
+++ b/bsps/m68k/mcf5235/start/start.S
@@ -364,6 +364,7 @@ ZEROLOOPTEST:
     /*
      * Right : Now we're ready to boot RTEMS
      */
+    move.l  #_ISR_Stack_area_end,sp | Use configuration defined stack
     clrl    d0                      | Pass in null to all boot_card() params
     movel   d0,a7 at -                 | command line
     jsr SYM(boot_card)              | Call C boot_card function to startup RTEMS
diff --git a/bsps/m68k/uC5282/start/start.S b/bsps/m68k/uC5282/start/start.S
index 641c174..63ac62e 100644
--- a/bsps/m68k/uC5282/start/start.S
+++ b/bsps/m68k/uC5282/start/start.S
@@ -378,6 +378,7 @@ ZEROLOOPTEST:
     /*
      * Right : Now we're ready to boot RTEMS
      */
+    move.l  #_ISR_Stack_area_end,sp | Use configuration defined stack
     clrl    d0          | Pass in null to all boot_card() params
     movel   d0,a7 at -         | command line
     jsr SYM(boot_card)      | Call C boot_card function to startup RTEMS




More information about the vc mailing list