2022-09-06 16:08:15 +00:00
|
|
|
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
namespace KernelMemoryManager
|
|
|
|
{
|
|
|
|
void* get_mapping(void* physicalAddress);
|
|
|
|
void release_mapping(void* mapping);
|
|
|
|
|
2022-09-07 08:33:22 +00:00
|
|
|
void* get_unaligned_mapping(void* physicalAddress);
|
|
|
|
void release_unaligned_mapping(void* mapping);
|
|
|
|
|
2022-09-06 16:08:15 +00:00
|
|
|
void* get_page();
|
|
|
|
void* get_pages(uint64_t count);
|
|
|
|
|
|
|
|
void release_page(void* page);
|
|
|
|
void release_pages(void* pages, uint64_t count);
|
|
|
|
}
|