fix: corner case for x87 context restore on execve
[lunaix-os.git] / lunaix-os / kernel / asm / x86 / prologue.S
index ef559bbdd9398fd87236de5f3c1d8935be5b8f0f..4c183fb16150c57073e1b6fe83ea44f3978c2ff9 100644 (file)
@@ -1,7 +1,7 @@
 /* 高半核入口点 - 0xC0000000 */
 
 #define __ASM__
-#include <lunaix/common.h>
+#include <arch/x86/i386_asm.h>
 
 .section .text
     .global hhk_entry_
 
         call _kernel_init
 
-        movl $KSTACK_TOP, %esp
-
-        call _kernel_post_init
-
     1:
         hlt
         jmp 1b
\ No newline at end of file