kmain: add multiboot magic as an argument

This commit is contained in:
2025-05-10 15:48:10 +03:00
parent d4a14633ce
commit 00c9560660
+1 -1
View File
@@ -136,7 +136,7 @@ void apply_pic_masks()
outb(0xa1,0xff);
}
void kmain(unsigned int info)
void kmain(unsigned int magic, unsigned int info)
{
struct multiboot_info mbi;
memcpy(&mbi, (void*)info, sizeof(struct multiboot_info));