diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2025-07-24 13:52:42 +0000 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2025-07-24 13:52:42 +0000 |
| commit | ef907825e861b63726952bb34b425a98f34ed412 (patch) | |
| tree | a2dc43bbc9362942f740652b990ee582880f2e3d /arch/x86_64/src/boot/boot32.S | |
| parent | 187788deaf81a0ef6709aea8f3c4d906f1669762 (diff) | |
| download | teachos-ef907825e861b63726952bb34b425a98f34ed412.tar.xz teachos-ef907825e861b63726952bb34b425a98f34ed412.zip | |
x86_64: provide a clean slate on entry to long mode
Diffstat (limited to 'arch/x86_64/src/boot/boot32.S')
| -rw-r--r-- | arch/x86_64/src/boot/boot32.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86_64/src/boot/boot32.S b/arch/x86_64/src/boot/boot32.S index 3039f38..27eed4d 100644 --- a/arch/x86_64/src/boot/boot32.S +++ b/arch/x86_64/src/boot/boot32.S @@ -27,8 +27,12 @@ page_maps_size = page_maps_end - page_maps_start .section .boot_stack, "aw", @nobits .align 16 +.global stack_size +.global stack_bottom + stack_bottom: .skip 1 << 20 stack_top: +stack_size = stack_top - stack_bottom /** * @brief Constants for the bootstrapping process. |
