From 5055dc85c8a74fcd2ec24fbc51eba2a2da68debe Mon Sep 17 00:00:00 2001 From: Miguel Date: Sun, 19 Aug 2018 19:39:47 +0200 Subject: cleaning up asm stuff and improving docs --- asm/multiboot.s | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'asm/multiboot.s') 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 -- cgit v1.2.3