#include "iris/mm/page_frame_allocator.h"
#include "di/platform/compiler.h"
#include "iris/core/print.h"
#include "iris/mm/map_physical_address.h"
Namespaces | |
namespace | iris |
namespace | iris::mm |
Functions | |
void | iris::mm::reserve_page_frames (PhysicalAddress base_address, usize page_count) |
void | iris::mm::unreserve_page_frames (PhysicalAddress base_address, usize page_count) |
auto | iris::mm::allocate_page_frame () -> Expected< PhysicalAddress > |
auto | iris::mm::allocate_physically_contiguous_page_frames (usize page_count) -> Expected< PhysicalAddress > |
void | iris::mm::deallocate_page_frame (PhysicalAddress) |
Variables | |
constexpr usize | iris::mm::physical_page_count = 4LLU * 1024U * 1024U * 1024U / 4096U |