[zion] Add utility to zero out a page when allocating one.
This commit is contained in:
parent
0b9e0adfbb
commit
164309eada
3 changed files with 25 additions and 19 deletions
|
|
@ -10,9 +10,12 @@ namespace phys_mem {
|
|||
// to initialize so we need this first.
|
||||
void InitBootstrapPageAllocation();
|
||||
|
||||
// Initializes the main physical memory manager.
|
||||
void InitPhysicalMemoryManager();
|
||||
|
||||
uint64_t AllocatePage();
|
||||
uint64_t AllocateAndZeroPage();
|
||||
|
||||
uint64_t AllocateContinuous(uint64_t num_pages);
|
||||
void FreePage(uint64_t page);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue