From a29c553d8910d52bab662aac695ec07340ba1cba Mon Sep 17 00:00:00 2001 From: Marin Ivanov Date: Fri, 3 May 2024 22:52:32 +0300 Subject: boot: correct stack --- src/boot/boot32.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/boot/boot32.s b/src/boot/boot32.s index 5650422..0c36819 100644 --- a/src/boot/boot32.s +++ b/src/boot/boot32.s @@ -6,7 +6,7 @@ /* Entry point. It puts the machine into a consistent state and starts long mode. */ _start: - mov $0x80000, %esp // Setup the stack. + mov $stack_top, %esp // Setup the stack. call boot_check_multiboot call boot_check_cpuid -- cgit v1.2.3