From 192a4ccd6bbc2239f047f782a05e888990011e51 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Thu, 1 Feb 2024 12:48:55 -0500 Subject: acpi, fix mboot memory map, fix kalloc, fix virtalloc node allocator, add kprintf, other changes --- src/arch/amd64/shim.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/arch/amd64/shim.c') diff --git a/src/arch/amd64/shim.c b/src/arch/amd64/shim.c index 7332994..3c0bd72 100644 --- a/src/arch/amd64/shim.c +++ b/src/arch/amd64/shim.c @@ -11,14 +11,13 @@ static struct boot_info boot_info; -void* amd64_shim(void *mboot_data_ptr) { - +void* amd64_shim(long mboot_magic, void *mboot_data_ptr) { serial_init(); paging_init(); pic_remap(); idt_init(); - mboot_load_info(mboot_data_ptr, &boot_info); + mboot_load_info(mboot_magic, mboot_data_ptr, &boot_info); return &boot_info; } -- cgit v1.2.3-freya