diff options
author | Joursoir <chat@joursoir.net> | 2022-10-10 18:50:00 +0300 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2022-10-13 19:02:08 +0300 |
commit | 5fdd893728a6506cd7980b85b9862523e841877d (patch) | |
tree | b5b4bc6609acc8667de5ed30497523fc86155bba /arch/x86/boot | |
parent | bec2cd1c1322ed6ec3e988de9a9580562d481423 (diff) | |
download | mfsos-5fdd893728a6506cd7980b85b9862523e841877d.tar.gz mfsos-5fdd893728a6506cd7980b85b9862523e841877d.tar.bz2 mfsos-5fdd893728a6506cd7980b85b9862523e841877d.zip |
Diffstat (limited to 'arch/x86/boot')
-rw-r--r-- | arch/x86/boot/multiboot/head.s | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/boot/multiboot/head.s b/arch/x86/boot/multiboot/head.s index 31051ff..99f8f98 100644 --- a/arch/x86/boot/multiboot/head.s +++ b/arch/x86/boot/multiboot/head.s @@ -81,6 +81,11 @@ _start: runtime support to work as well. */ + /* Push the pointer to the Multiboot information structure. */ + push %ebx + /* Push the magic value. */ + push %eax + /* Enter the high-level kernel. The ABI requires the stack is 16-byte aligned at the time of the call instruction (which afterwards pushes |