mirror of
https://github.com/taigrr/gopher-os
synced 2025-01-18 04:43:13 -08:00
AllocFrame now rounds up the region start address to the nearest page multiple and rounds down the region end address to the nearest page multiple. It also ignores memory regions with size smaller than a page. Instead of using frame indices and converting them to a pmm.Frame, the allocator now just keeps track of the last allocated pmm.Frame. As the allocator is now unexported, a package-exported Init() method is now provided whose purpose is to initialize the physical allocator sub-system.
Description
Languages
Go
84.9%
ASL
10.2%
Assembly
4%
Makefile
0.9%