From cc61d5cdb2938e24ce027dc725b9df7b67f86e84 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 16 Nov 2018 07:36:04 +0100 Subject: 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(+) (limited to 'bsps') diff --git a/bsps/m68k/av5282/start/start.S b/bsps/m68k/av5282/start/start.S index 5075851245..1142316877 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@- | 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 299c8dad32..b90db2276e 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@- | 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 57848ff92b..b797b23717 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@- | 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 66b8f487de..cf33070d16 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@- | 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 641c174a92..63ac62e15d 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@- | command line jsr SYM(boot_card) | Call C boot_card function to startup RTEMS -- cgit v1.2.3