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

Structure for a page buffer in the PMM stack. More...

#include <pmm_stack.h>

Data Fields

struct page_buffer * prev
 Pointer to the previous page buffer in the stack.
 
void * pages []
 Flexible array member to store free physical pages.
 

Detailed Description

Structure for a page buffer in the PMM stack.

The page_buffer_t structure is stored in free pages and keeps track of pages that are currently freed.

Definition at line 21 of file pmm_stack.h.

Field Documentation

◆ pages

void* page_buffer_t::pages[]

Flexible array member to store free physical pages.

Definition at line 30 of file pmm_stack.h.

Referenced by pmm_stack_alloc(), and pmm_stack_free().

◆ prev

struct page_buffer* page_buffer_t::prev

Pointer to the previous page buffer in the stack.

Definition at line 26 of file pmm_stack.h.

Referenced by pmm_stack_alloc(), and pmm_stack_free().


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