summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sys/arch/i386/locore.S10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/sys/arch/i386/locore.S b/src/sys/arch/i386/locore.S
index e448fc8..c1eb715 100644
--- a/src/sys/arch/i386/locore.S
+++ b/src/sys/arch/i386/locore.S
@@ -21,7 +21,7 @@ fbtag_start:
.long 32 // Depth
fbtag_end:
-.align 8
+ .align 8
endtag:
.word 0
.word 0
@@ -31,4 +31,12 @@ endtag:
.code32
.globl _start
_start:
+ cli
+ mov stack_bottom, %esp
+ push %ebx
+ push %eax
jmp .
+
+ .section .bss
+stack_bottom:
+ .fill 4096 * 16, 0