Files
MetalOS/kernel/include
copilot-swe-agent[bot] 4051edd198 Parse UEFI memory map to detect actual available RAM
- 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>
2025-12-28 23:20:46 +00:00
..