[Zion] Track used vs free physical memory.

This commit is contained in:
Drew Galbraith 2023-11-15 14:53:05 -08:00
parent 8e95a11907
commit 0b47e3b7fc
3 changed files with 35 additions and 7 deletions

View file

@ -21,4 +21,6 @@ uint64_t AllocateAndZeroPage();
uint64_t AllocateContinuous(uint64_t num_pages);
void FreePage(uint64_t page);
void DumpPhysicalMemoryUsage();
} // namespace phys_mem