Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
kalloc.h File Reference
#include <type.h>

Go to the source code of this file.

Data Structures

struct  kalloc_metadata_t
 

Macros

#define KALLOC_REDZONE_SIZE   16
 
#define KALLOC_REDZONE_MAGIC   0xFDEAABEEU
 

Functions

void * kalloc (size_t size)
 
void kfree (void *ptr, size_t size)
 
void kfree2 (void *ptr)
 

Macro Definition Documentation

◆ KALLOC_REDZONE_MAGIC

#define KALLOC_REDZONE_MAGIC   0xFDEAABEEU

Definition at line 11 of file kalloc.h.

Referenced by __attribute__(), check_redzone(), and setup_redzone().

◆ KALLOC_REDZONE_SIZE

#define KALLOC_REDZONE_SIZE   16

Definition at line 10 of file kalloc.h.

Referenced by __attribute__(), and ssfn_realloc().

Function Documentation

◆ kalloc()

◆ kfree()

◆ kfree2()