summaryrefslogtreecommitdiff
path: root/boot/kernel_entry.asm
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-06-24 13:53:31 +0200
committerMichal Idziorek <m.i@gmx.at>2014-06-24 13:53:31 +0200
commita99ca43066ba246475809a0e805bf52e8195debd (patch)
tree1883030e358c15231599160ff1ce027b0cc20d22 /boot/kernel_entry.asm
Initial commit of FoolOS
FoolOS - the most useless OS in history.
Diffstat (limited to 'boot/kernel_entry.asm')
-rw-r--r--boot/kernel_entry.asm10
1 files changed, 10 insertions, 0 deletions
diff --git a/boot/kernel_entry.asm b/boot/kernel_entry.asm
new file mode 100644
index 0000000..77bb2a5
--- /dev/null
+++ b/boot/kernel_entry.asm
@@ -0,0 +1,10 @@
+[bits 32]
+
+[extern kernel_main]
+[extern int0]
+
+call kernel_main ; jumps in the world of C
+call int0 ; jumps in the world of C
+ret
+
+jmp $