Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
OSAlloc.h File Reference

Go to the source code of this file.

Classes

struct  OSHeapDescriptor
 
struct  OSHeapCell
 

Typedefs

typedef struct OSHeapDescriptor OSHeapDescriptor
 
typedef struct OSHeapCell OSHeapCell
 
typedef u32 OSHeapHandle
 

Functions

static OSHeapCellDLInsert (OSHeapCell *list, OSHeapCell *child)
 
void OSFreeToHeap (OSHeapHandle handle, void *ptr)
 
s32 OSSetCurrentHeap (OSHeapHandle handle)
 
voidOSInitAlloc (void *lo, void *hi, s32 maxHeaps)
 
OSHeapHandle OSCreateHeap (void *start, void *end)
 

Variables

volatile s32 __OSCurrHeap
 

Typedef Documentation

◆ OSHeapCell

◆ OSHeapDescriptor

◆ OSHeapHandle

Function Documentation

◆ DLInsert()

static OSHeapCell * DLInsert ( OSHeapCell list,
OSHeapCell child 
)
static

◆ OSCreateHeap()

OSHeapHandle OSCreateHeap ( void start,
void end 
)

◆ OSFreeToHeap()

void OSFreeToHeap ( OSHeapHandle  handle,
void ptr 
)

◆ OSInitAlloc()

void * OSInitAlloc ( void lo,
void hi,
s32  maxHeaps 
)

◆ OSSetCurrentHeap()

s32 OSSetCurrentHeap ( OSHeapHandle  handle)

Variable Documentation

◆ __OSCurrHeap

volatile s32 __OSCurrHeap
extern