From 78e8c9f64c5c5926f75b1d4a69bbe6c10ab77953 Mon Sep 17 00:00:00 2001 From: acevest 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.44.0