PatchworkOS
Loading...
Searching...
No Matches
pmm_bitmap_t Struct Reference

Represents a bitmap allocator's state. More...

#include <pmm_bitmap.h>

Data Fields

bitmap_t bitmap
 The underlying bitmap used for tracking page status.
 
uint64_t free
 The number of free pages in the bitmap.
 
uint64_t total
 The total number of pages managed by the bitmap.
 
uintptr_t maxAddr
 The maximum address managed by the bitmap.
 

Detailed Description

Represents a bitmap allocator's state.

Definition at line 21 of file pmm_bitmap.h.

Field Documentation

◆ bitmap

bitmap_t pmm_bitmap_t::bitmap

The underlying bitmap used for tracking page status.

Definition at line 26 of file pmm_bitmap.h.

Referenced by pmm_bitmap_alloc(), pmm_bitmap_free(), and pmm_bitmap_init().

◆ free

uint64_t pmm_bitmap_t::free

The number of free pages in the bitmap.

Definition at line 30 of file pmm_bitmap.h.

Referenced by pmm_alloc_bitmap(), pmm_bitmap_alloc(), pmm_bitmap_free(), pmm_bitmap_init(), pmm_free_amount(), and pmm_reserved_amount().

◆ maxAddr

uintptr_t pmm_bitmap_t::maxAddr

The maximum address managed by the bitmap.

Definition at line 38 of file pmm_bitmap.h.

Referenced by pmm_bitmap_alloc(), and pmm_bitmap_init().

◆ total

uint64_t pmm_bitmap_t::total

The total number of pages managed by the bitmap.

Definition at line 34 of file pmm_bitmap.h.

Referenced by pmm_bitmap_init().


The documentation for this struct was generated from the following file: