Iros
 
Loading...
Searching...
No Matches
page_frame_allocator.h
Go to the documentation of this file.
1#pragma once
2
3#include "iris/core/error.h"
5
6namespace iris::mm {
7void reserve_page_frames(PhysicalAddress base_address, usize page_count);
8void unreserve_page_frames(PhysicalAddress base_address, usize page_count);
12}
size_t usize
Definition integers.h:33
Definition address_space.cpp:20
void deallocate_page_frame(PhysicalAddress)
Definition page_frame_allocator.cpp:81
di::StrongInt< PhysicalAddressTag > PhysicalAddress
Definition physical_address.h:12
auto allocate_physically_contiguous_page_frames(usize page_count) -> Expected< PhysicalAddress >
Definition page_frame_allocator.cpp:55
auto allocate_page_frame() -> Expected< PhysicalAddress >
Definition page_frame_allocator.cpp:39
void reserve_page_frames(PhysicalAddress base_address, usize page_count)
Definition page_frame_allocator.cpp:17
void unreserve_page_frames(PhysicalAddress base_address, usize page_count)
Definition page_frame_allocator.cpp:28
di::vocab::Expected< T, di::platform::GenericCode > Expected
Definition error.h:324