diff --git a/arch/boot.s b/arch/boot.s index 540b856..e698770 100644 --- a/arch/boot.s +++ b/arch/boot.s @@ -34,7 +34,8 @@ stack_top: .type _start, @function _start: mov $stack_top, %esp - push %eax // uint32_t multiboot_magic + push %ebx // unsigned long multiboot_info + push %eax // unsigned int multiboot_magic call main cli 1: diff --git a/arch/main.c b/arch/main.c index 67b1ec9..5c2e3ae 100644 --- a/arch/main.c +++ b/arch/main.c @@ -4,7 +4,7 @@ #include "gdt.h" #include "idt.h" -void main(unsigned int multiboot_magic) +void main(unsigned int multiboot_magic, unsigned long multiboot_info) { logger_initialize();