diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2025-01-04 10:53:38 -0500 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-01-04 10:53:38 -0500 |
commit | ae6db9be229bdfdf19fa98eec9871f89b08d14eb (patch) | |
tree | 0e2bf74317ac7f6de728811897662b66d9dadf7e /kernel/boot/init/boot.s | |
parent | cd10fa5a9a84d445bea5bc4bbf903aac1df65053 (diff) |
kernel: mm: Detect memory regions.
Doesn't do much, but lays down the foundation for future memory management
efforts.
Diffstat (limited to 'kernel/boot/init/boot.s')
-rw-r--r-- | kernel/boot/init/boot.s | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/boot/init/boot.s b/kernel/boot/init/boot.s index 35a89a2..8e0d10b 100644 --- a/kernel/boot/init/boot.s +++ b/kernel/boot/init/boot.s @@ -85,6 +85,10 @@ _start: */ movl $stack_top, %esp + /* Push Multiboot values to stack for kernel_main */ + push %eax + push %ebx + /* This is a good place to initialize crucial processor state before the high-level kernel is entered. It's best to minimize the early |