]> Zhao Yanbai Git Server - kernel.git/commitdiff
fix multiboot params
authoracevest <zhaoyanbai@126.com>
Thu, 4 Nov 2021 15:27:56 +0000 (23:27 +0800)
committeracevest <zhaoyanbai@126.com>
Thu, 4 Nov 2021 15:27:56 +0000 (23:27 +0800)
boot/multiboot.S

index e41297baeeaaea44cdc5674401af12063fd6f0a2..2ecfc7ea7f7f166246c654a0ff6fd32e4646c248 100644 (file)
@@ -113,10 +113,10 @@ main:
 
     ljmp    $0x08,$Label
 Label:
-    movl    $root_task + TASK_SIZE, %esp
-    
     call    check_kernel
+    addl    $8, %esp
 
+    movl    $root_task + TASK_SIZE, %esp
     call    init_system_info
 
     call    setup_kernel