KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
malloc.h File Reference

KOS-specific Allocator functionality. More...

#include <sys/cdefs.h>

Go to the source code of this file.

Macros

#define DEFAULT_MXFAST   64
 
#define DEFAULT_TRIM_THRESHOLD   (256*1024)
 
#define DEFAULT_TOP_PAD   0
 
#define DEFAULT_MMAP_THRESHOLD   (256*1024)
 
#define DEFAULT_MMAP_MAX   65536
 

Functions

int malloc_irq_safe (void)
 Determine if it is safe to call malloc() in an IRQ context.
 
int mem_check_block (void *p)
 Only available with KM_DBG.
 
int mem_check_all (void)
 Only available with KM_DBG.
 

Detailed Description

KOS-specific Allocator functionality.

This implements custom KOS extensions to allocator functionality.

Author
Megan Potter
Lawrence Sebald
Donald Haase