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

PMM stack structure for managing higher physical memory. More...

#include <pmm_stack.h>

Data Fields

page_buffer_tlast
 Pointer to the last page buffer in the stack.
 
uint64_t index
 Current index within the pages array of the last page buffer.
 
uint64_t free
 The number of free pages in the stack.
 

Detailed Description

PMM stack structure for managing higher physical memory.

Definition at line 41 of file pmm_stack.h.

Field Documentation

◆ free

uint64_t pmm_stack_t::free

The number of free pages in the stack.

Definition at line 54 of file pmm_stack.h.

Referenced by pmm_alloc(), pmm_alloc_pages(), pmm_free_amount(), pmm_reserved_amount(), pmm_stack_alloc(), pmm_stack_free(), and pmm_stack_init().

◆ index

uint64_t pmm_stack_t::index

Current index within the pages array of the last page buffer.

Definition at line 50 of file pmm_stack.h.

Referenced by pmm_stack_alloc(), pmm_stack_free(), and pmm_stack_init().

◆ last

page_buffer_t* pmm_stack_t::last

Pointer to the last page buffer in the stack.

Definition at line 46 of file pmm_stack.h.

Referenced by pmm_stack_alloc(), pmm_stack_free(), and pmm_stack_init().


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