summaryrefslogtreecommitdiff
path: root/boot/kernel_entry.asm
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-09-01 13:26:52 +0200
committerMichal Idziorek <m.i@gmx.at>2014-09-01 13:26:52 +0200
commit347ee926fd09d7fb45025f2c4e4a4eeab83459c9 (patch)
tree8d082bcaebe7579fe4fa73dd6eead7c00bb051fd /boot/kernel_entry.asm
parenta9682cac5f14f8d04c87d206cf1d8367e77a61e1 (diff)
Added kernel_entry for APs
Diffstat (limited to 'boot/kernel_entry.asm')
-rw-r--r--boot/kernel_entry.asm7
1 files changed, 7 insertions, 0 deletions
diff --git a/boot/kernel_entry.asm b/boot/kernel_entry.asm
index adb6b51..3b1fb26 100644
--- a/boot/kernel_entry.asm
+++ b/boot/kernel_entry.asm
@@ -10,5 +10,12 @@
[extern kernel_main]
+push 0x1
+
+cmp eax,1
+je multiproc
+push 0x0
+multiproc:
+
push esp
call kernel_main ; jumps in the world of C