Boot framework rework (#45)
[lunaix-os.git] / lunaix-os / arch / x86 / boot / x86_64 / init64.c
index bab017366c376202b660ed774ad51987310469e5..ac2c023399973cbfb1c58e120fae9777e0267ad1 100644 (file)
@@ -2,10 +2,12 @@
 #include "sys/crx.h"
 #include "sys/cpu.h"
 
+ptr_t __multiboot_addr boot_data;
+
 void boot_text
-x86_init(struct multiboot_info* mb)
+x86_init(ptr_t mb)
 {
-    mb_parse(mb);
+    __multiboot_addr = mb;
 
     cr4_setfeature(CR4_PCIDE);