diff options
| author | Miguel <m.i@gmx.at> | 2018-08-19 19:39:47 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-08-19 19:39:47 +0200 |
| commit | 5055dc85c8a74fcd2ec24fbc51eba2a2da68debe (patch) | |
| tree | 6b9589c5c89c8bc5c90771ff9d630c15e670f024 /asm/multiboot.s | |
| parent | 575c725f998b166f1d286a2664aa3d6061d337fe (diff) | |
cleaning up asm stuff and improving docs
Diffstat (limited to 'asm/multiboot.s')
| -rw-r--r-- | asm/multiboot.s | 4 |
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 |
