summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/gen68360/start
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-16 17:45:35 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-16 17:45:35 +0000
commitf8f370b6452c12ace4a7671c66e831a727b19c4d (patch)
tree47085304595abd6b0c7fc155b52c433de9f2ca09 /c/src/lib/libbsp/m68k/gen68360/start
parentUpdated to reflect Tony Bennett's new email address and the incorporation (diff)
downloadrtems-f8f370b6452c12ace4a7671c66e831a727b19c4d.tar.bz2
Update from Eric Norum.
Diffstat (limited to 'c/src/lib/libbsp/m68k/gen68360/start')
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/start/start360.s10
1 files changed, 7 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/m68k/gen68360/start/start360.s b/c/src/lib/libbsp/m68k/gen68360/start/start360.s
index 77c4ff3115..bc2e8750e5 100644
--- a/c/src/lib/libbsp/m68k/gen68360/start/start360.s
+++ b/c/src/lib/libbsp/m68k/gen68360/start/start360.s
@@ -1,4 +1,4 @@
-/* entry.s
+/*
*
* This file contains the entry point for the application.
* The name of this entry point is compiler dependent.
@@ -311,15 +311,19 @@ spurious_interrupt:
.align 2
.long ETHERNET_ADDRESS | Low-order 3 octets of ethernet address
+ .global start
/*
* Initial PC
*/
- .global start
start:
/*
* Step 2: Stay in Supervisor Mode
- * (i.e. just do nothing for this step)
*/
+#if ( M68K_HAS_SEPARATE_STACKS == 1 )
+ oriw #0x3000,sr | Switch to Master Stack Pointer
+ lea SYM(m360)+1024-64,a7 | Load stack pointer with space
+ | for the Interrupt Stack
+#endif
/*
* Step 3: Write the VBR