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

Sebastian Huber sebh at rtems.org
Mon Nov 19 06:21:02 UTC 2018


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

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

bsps/bfin: Use interrupt stack for init stack

Update #3459.

---

 bsps/bfin/bf537Stamp/start/start.S | 4 ++--
 bsps/bfin/shared/start/start.S     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/bsps/bfin/bf537Stamp/start/start.S b/bsps/bfin/bf537Stamp/start/start.S
index a835a48..cc6c7c6 100644
--- a/bsps/bfin/bf537Stamp/start/start.S
+++ b/bsps/bfin/bf537Stamp/start/start.S
@@ -19,8 +19,8 @@ __start:
 	cli r0;
 
 	/* setup an initial stack */
-	sp.h = 0xFFB0;
-	sp.l = 0x0F00;
+	sp.h = __ISR_Stack_area_end;
+	sp.l = __ISR_Stack_area_end;
 
 	/* disable timer interrupts */
 	p0.h = HI(TCNTL);
diff --git a/bsps/bfin/shared/start/start.S b/bsps/bfin/shared/start/start.S
index 3440f5c..acf742c 100644
--- a/bsps/bfin/shared/start/start.S
+++ b/bsps/bfin/shared/start/start.S
@@ -22,8 +22,8 @@
 __start:
 
     /* Start by setting up a stack */
-    sp.h = 0xFFB0;
-    sp.l = 0x0F00;
+    sp.h = __ISR_Stack_area_end;
+    sp.l = __ISR_Stack_area_end;
 
     /* Maybe we should zero the memory in the .bss section.  */
 




More information about the vc mailing list