From: acevest Date: Thu, 4 Nov 2021 15:27:56 +0000 (+0800) Subject: fix multiboot params X-Git-Url: http://zhaoyanbai.com/repos/Bv9ARM.ch11.html?a=commitdiff_plain;h=78e8c9f64c5c5926f75b1d4a69bbe6c10ab77953;p=kernel.git fix multiboot params --- 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