mirror of
https://github.com/johndoe6345789/MetalOS.git
synced 2026-04-25 06:05:02 +00:00
- Implement proper memory detection by parsing UEFI memory map - Mark only usable memory regions as free (EfiConventionalMemory, Boot/Loader services) - Initialize bitmap with all pages marked as used, then free only available regions - Calculate totalPages based on highest usable address from memory map - Add 128MB fallback if memory map is unavailable - Now works correctly with any RAM amount from 0 to 64GB Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>