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.

Functions

void * OSAllocFromHeap (int heap, u32 size)
 
void * OSAllocFixed (void *rstart, void *rend)
 
void OSFreeToHeap (int heap, void *ptr)
 
int OSSetCurrentHeap (int heap)
 
void * OSInitAlloc (void *arenaStart, void *arenaEnd, int maxHeaps)
 
int OSCreateHeap (void *start, void *end)
 
void OSDestroyHeap (int heap)
 
void OSAddToHeap (int heap, void *start, void *end)
 
s32 OSCheckHeap (int heap)
 
u32 OSReferentSize (void *ptr)
 
void OSDumpHeap (int heap)
 
void OSVisitAllocated (void(*visitor)(void *, u32))
 

Variables

volatile OSHeapHandle __OSCurrHeap
 

Function Documentation

◆ OSAddToHeap()

void OSAddToHeap ( int heap,
void * start,
void * end )

◆ OSAllocFixed()

void * OSAllocFixed ( void * rstart,
void * rend )

◆ OSAllocFromHeap()

void * OSAllocFromHeap ( int heap,
u32 size )

◆ OSCheckHeap()

s32 OSCheckHeap ( int heap)

◆ OSCreateHeap()

int OSCreateHeap ( void * start,
void * end )

◆ OSDestroyHeap()

void OSDestroyHeap ( int heap)

◆ OSDumpHeap()

void OSDumpHeap ( int heap)

◆ OSFreeToHeap()

void OSFreeToHeap ( int heap,
void * ptr )

◆ OSInitAlloc()

void * OSInitAlloc ( void * arenaStart,
void * arenaEnd,
int maxHeaps )

◆ OSReferentSize()

u32 OSReferentSize ( void * ptr)

◆ OSSetCurrentHeap()

int OSSetCurrentHeap ( int heap)

◆ OSVisitAllocated()

void OSVisitAllocated ( void(* visitor )(void *, u32))

Variable Documentation

◆ __OSCurrHeap

volatile OSHeapHandle __OSCurrHeap
extern