MCPcopy Create free account
hub / github.com/Infinity-OS/infinity / FrameAllocator

Interface FrameAllocator

src/memory/mod.rs:122–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122pub trait FrameAllocator {
123 fn allocate_frame(&mut self) -> Option<Frame>;
124 fn deallocate_frame(&mut self, frame: Frame);
125}
126
127pub struct MemoryController {
128 pub active_table: paging::ActivePageTable,

Callers

nothing calls this directly

Implementers 2

area_frame_allocator.rssrc/memory/area_frame_allocator.rs
temporary_page.rssrc/memory/paging/temporary_page.rs

Calls

no outgoing calls

Tested by

no test coverage detected