Karg  v0.2.0
The kernel of CargOS
page_alloc.c File Reference
#include <mm/page_alloc.h>
#include <config.h>
#include <list.h>
#include <module/init.h>
#include <module/module.h>

Functions

 MODULE_NAME ("page_alloc")
 
 module_pre_init (init)
 
void * page_alloc (void)
 
void page_free (void *ptr)
 

Variables

u8 _heap_start [KHEAP_SIZE]
 

Function Documentation

◆ MODULE_NAME()

MODULE_NAME ( "page_alloc"  )

◆ module_pre_init()

module_pre_init ( init  )

◆ page_alloc()

void* page_alloc ( void  )

◆ page_free()

void page_free ( void *  ptr)

Variable Documentation

◆ _heap_start

u8 _heap_start[KHEAP_SIZE]
extern