Skip to main content

Module pmm

Module pmm 

Source
Expand description

Physical Memory Manager (PMM): buddy allocator that tracks and hands out physical frames.

Authors: MarioS271

Re-exportsยง

use crate::kinfo; ๐Ÿ”’
use crate::lib::addr::PhysAddr; ๐Ÿ”’
use crate::state::kstate::KSTATE; ๐Ÿ”’
use limine::memmap; ๐Ÿ”’

Structsยง

Pmm
Buddy-Allocator based tracker of free and head physical frames.

Constantsยง

FRAME_SIZE
MAX_ORDER ๐Ÿ”’
NUM_ORDERS ๐Ÿ”’