From 7b96707f9da60ef4c0de6277a6e4a25cf3946ea0 Mon Sep 17 00:00:00 2001 From: zhaoyanbai Date: Thu, 4 Nov 2021 23:27:56 +0800 Subject: [PATCH] fix multiboot params --- boot/multiboot.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boot/multiboot.S b/boot/multiboot.S index e41297b..2ecfc7e 100644 --- a/boot/multiboot.S +++ b/boot/multiboot.S @@ -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 -- 2.55.0