Attempt at reporting something of an 'accurate' unreserved physical page

count. Still needs work.
This commit is contained in:
gibbed
2016-06-21 09:37:12 -05:00
parent 0e1c91681d
commit 32e0ef397c
3 changed files with 50 additions and 5 deletions

View File

@@ -101,6 +101,8 @@ class BaseHeap {
// Dumps information about all allocations within the heap to the log.
void DumpMap();
uint32_t GetUnreservedPageCount();
// Allocates pages with the given properties and allocation strategy.
// This can reserve and commit the pages as well as set protection modes.
// This will fail if not enough contiguous pages can be found.