LumaOS  v0.1.116
An experimental x86-64 OS
Loading...
Searching...
No Matches
pmm_state Struct Reference

Holds the state of the physical memory manager and information about its memory. More...

#include <pmm.h>

Data Fields

uint64_t * bitmap
 virtual address (through the HHDM) of the bitmap
uint64_t frame_count
 number of frames the bitmap covers
uint64_t free_frames
 how many frames are currently free
uint64_t next_hint
 word index where the next search starts

Detailed Description

Holds the state of the physical memory manager and information about its memory.

Definition at line 19 of file pmm.h.

Field Documentation

◆ bitmap

uint64_t* pmm_state::bitmap

virtual address (through the HHDM) of the bitmap

Definition at line 21 of file pmm.h.

◆ frame_count

uint64_t pmm_state::frame_count

number of frames the bitmap covers

Definition at line 23 of file pmm.h.

◆ free_frames

uint64_t pmm_state::free_frames

how many frames are currently free

Definition at line 25 of file pmm.h.

◆ next_hint

uint64_t pmm_state::next_hint

word index where the next search starts

Definition at line 27 of file pmm.h.


The documentation for this struct was generated from the following file:
  • kernel/src/include/mm/pmm.h