From 4cda542d863839c5b0e026ccee297ca5ff3dd9cd Mon Sep 17 00:00:00 2001 From: Miguel Date: Sun, 9 Sep 2018 17:28:59 +0200 Subject: switched to apic/ioapic finally --- kernel/multiboot.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'kernel/multiboot.c') diff --git a/kernel/multiboot.c b/kernel/multiboot.c index a705e81..ee84180 100644 --- a/kernel/multiboot.c +++ b/kernel/multiboot.c @@ -1,13 +1,11 @@ -#include "kernel/kernel.h" -//https://www.gnu.org/software/grub/manual/multiboot/multiboot.html#Boot-information-format - +#include "kernel.h" #include "multiboot.h" -#include "driver/vesa.h" -multiboot_information* get_multiboot(uint32_t eax, uint32_t ebx) +multiboot_information* multiboot_read(uint32_t eax, uint32_t ebx) { - if(eax!=0x2badb002)kpanic("EAX was not set properly by your bootlaoder!"); + klog("multiboot struct at addr: 0x%08X",ebx); + multiboot_information *info; info=ebx; @@ -82,5 +80,4 @@ multiboot_information* get_multiboot(uint32_t eax, uint32_t ebx) } return info; - } -- cgit v1.2.3