aboutsummaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorFranklin Wei <frankhwei536@gmail.com>2015-02-01 16:50:55 -0500
committerFranklin Wei <frankhwei536@gmail.com>2015-02-01 16:50:55 -0500
commit483754ab27f2a58011f723efa52163a83c63e56e (patch)
treefa50d2afc84b0403db26d92f38226d75adb7f281 /boot
parent726684887d414fbefe28d0d210abea8e842ecd21 (diff)
downloadkappa-483754ab27f2a58011f723efa52163a83c63e56e.zip
kappa-483754ab27f2a58011f723efa52163a83c63e56e.tar.gz
kappa-483754ab27f2a58011f723efa52163a83c63e56e.tar.bz2
kappa-483754ab27f2a58011f723efa52163a83c63e56e.tar.xz
lots of stuff
Diffstat (limited to 'boot')
-rw-r--r--boot/head.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/boot/head.S b/boot/head.S
index 864ebeb..4143352 100644
--- a/boot/head.S
+++ b/boot/head.S
@@ -22,6 +22,8 @@ stack_top:
.type _start, @function
_start:
movl $stack_top, %esp
+ push %eax # multiboot magic
+ push %ebp # multiboot header
call main
cli
hlt