summaryrefslogtreecommitdiff
path: root/asm/multiboot.s
diff options
context:
space:
mode:
Diffstat (limited to 'asm/multiboot.s')
-rw-r--r--asm/multiboot.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/asm/multiboot.s b/asm/multiboot.s
index 1d808a3..54cffbb 100644
--- a/asm/multiboot.s
+++ b/asm/multiboot.s
@@ -1,6 +1,10 @@
# https://www.gnu.org/software/grub/manual/multiboot/multiboot.html#Boot-information-format
# http://wiki.osdev.org/Bare_Bones
+# Fill Multiboot Haeder, init stack and call kernel_main passing to params:
+# eax - magic number
+# ebx - multiboot structure
+
# Declare constants used for creating a multiboot header.
.set ALIGN, 1<<0 # align loaded modules on page boundaries
.set MEMINFO, 1<<1 # provide memory map