Iros
 
Loading...
Searching...
No Matches
page_frame_allocator.cpp File Reference

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