summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/boot/multiboot/head.s5
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