(maybe) Proper POSIX memory allocation support

This commit is contained in:
Dr. Chat
2017-05-07 19:52:15 -05:00
parent e26aa6c189
commit 095f65c19e
2 changed files with 26 additions and 3 deletions

View File

@@ -50,6 +50,7 @@ enum class DeallocationType {
// Allocates a block of memory at the given page-aligned base address.
// Fails if the memory is not available.
// Specify nullptr for base_address to leave it up to the system.
void* AllocFixed(void* base_address, size_t length,
AllocationType allocation_type, PageAccess access);