add generic kremap for kernel remapping
[lunaix-os.git] / lunaix-os / arch / x86 / boot / i386 / prologue32.S
index b8b4866d5558a6d07143def9b498a4d993aac0d9..463118f92c5ea44173d25c5fcf7296104a059e40 100644 (file)
@@ -1,7 +1,7 @@
 /* 高半核入口点 - 0xC0000000 */
 
 #define __ASM__
-#include <sys/abi.h>
+#include <asm/abi.h>
 #include <sys/failsafe.h>
 
 .section .bss.kstack
@@ -71,7 +71,9 @@
         movw $TSS_SEG, %ax
         ltr %ax
 
-        movl $bhctx_buffer, (%esp)       # mb_parser.c
+        call prepare_boot_handover
+
+        movl %eax, (%esp)
         call kernel_bootstrap
 
     1: