PatchworkOS
Loading...
Searching...
No Matches
pmm_stack.c File Reference
#include <kernel/mem/pmm_stack.h>
#include <sys/math.h>

Go to the source code of this file.

Functions

void pmm_stack_init (pmm_stack_t *stack)
 Initializes a PMM stack.
 
void * pmm_stack_alloc (pmm_stack_t *stack)
 Allocates a single page from the stack.
 
void pmm_stack_free (pmm_stack_t *stack, void *address)
 Frees a single page, returning it to the stack.