Expand description
Re-export constants as info module.
§Memory Layout
Constants§
- HHDM_
BASE - A simple Higher Half Direct Map (HHDM) base.
Anything you map at
HHDM_BASE+palets the kernel access physical memory via a fixed offset. - IDENTITY_
LOW_ BYTES - Keep a tiny identity map so the paging switch code remains executable right after CR3 reload (and to let you pass low pointers if you want).
- KERNEL_
BASE - Where the kernel executes (VMA), matches your linker script.
- PHYS_
LOAD - Where you place the bytes in physical memory (LMA) before paging.