aboutsummaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorFranklin Wei <frankhwei536@gmail.com>2015-02-11 21:42:22 -0500
committerFranklin Wei <frankhwei536@gmail.com>2015-02-11 21:42:22 -0500
commitb39f7a0657b8147d6a58a0222a61bfb0f9e2b061 (patch)
treefd4b6d1f12d32a20e021a142d92bc3766afa5f99 /boot
parenta03f4e798eba196b614024f814e6db7f6795c2f8 (diff)
downloadkappa-b39f7a0657b8147d6a58a0222a61bfb0f9e2b061.zip
kappa-b39f7a0657b8147d6a58a0222a61bfb0f9e2b061.tar.gz
kappa-b39f7a0657b8147d6a58a0222a61bfb0f9e2b061.tar.bz2
kappa-b39f7a0657b8147d6a58a0222a61bfb0f9e2b061.tar.xz
Stuff
Diffstat (limited to 'boot')
-rw-r--r--boot/head.S5
1 files changed, 2 insertions, 3 deletions
diff --git a/boot/head.S b/boot/head.S
index 8bd42f1..b74e929 100644
--- a/boot/head.S
+++ b/boot/head.S
@@ -24,19 +24,18 @@ multiboot_header:
.section .stack
stack_bottom: # Stack grows up in addresses, so bottom is
# lower in memory than the top
- .skip 16384 # 16KB stack
+ .skip 32768 # 32KB stack
stack_top:
.section .text
.global _start
- .type _start, @function
_start:
cli
movl $stack_top, %esp
push %eax # multiboot magic
push %ebx # multiboot header
call main
+.Lhang: # Idle
cli
hlt
-.Lhang: # Idle
jmp .Lhang