aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Ivanov <[email protected]>2024-05-03 22:52:32 +0300
committerMarin Ivanov <[email protected]>2024-05-03 22:52:32 +0300
commita29c553d8910d52bab662aac695ec07340ba1cba (patch)
tree84ddee388d34ba00ee912ee5c4fcf31bd4b17d20
parenta98393d68bb76c21015d2d41d4092f9552016bad (diff)
boot: correct stack
-rw-r--r--src/boot/boot32.s2
1 files changed, 1 insertions, 1 deletions
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