summaryrefslogtreecommitdiff
path: root/sys/arch/socppc/stand/boot/start.S
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/socppc/stand/boot/start.S')
-rw-r--r--sys/arch/socppc/stand/boot/start.S13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/arch/socppc/stand/boot/start.S b/sys/arch/socppc/stand/boot/start.S
new file mode 100644
index 00000000000..74d8e795052
--- /dev/null
+++ b/sys/arch/socppc/stand/boot/start.S
@@ -0,0 +1,13 @@
+#include <machine/asm.h>
+
+#define STACKSIZE 8192
+
+ENTRY(_start)
+ lis %r1, stack@ha
+ addi %r1, %r1, stack@l
+ addi %r1, %r1, STACKSIZE
+
+ b _C_LABEL(main)
+
+ .data
+.lcomm stack,STACKSIZE,8