![]() |
Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
|
Classes | |
struct | Cell |
struct | HeapDesc |
Typedefs | |
typedef struct Cell | Cell |
typedef struct HeapDesc | HeapDesc |
Functions | |
static Cell * | DLAddFront (Cell *list, Cell *cell) |
static Cell * | DLLookup (Cell *list, Cell *cell) |
static Cell * | DLExtract (Cell *list, Cell *cell) |
static Cell * | DLInsert (Cell *list, Cell *cell) |
static int | DLOverlap (Cell *list, void *start, void *end) |
static s32 | DLSize (Cell *list) |
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 int | __OSCurrHeap = -1 |
static HeapDesc * | HeapArray |
static int | NumHeaps |
static void * | ArenaStart |
static void * | ArenaEnd |
typedef struct Cell Cell |
typedef struct HeapDesc HeapDesc |
|
static |
void OSAddToHeap | ( | int | heap, |
void * | start, | ||
void * | end ) |
void * OSAllocFixed | ( | void * | rstart, |
void * | rend ) |
void * OSAllocFromHeap | ( | int | heap, |
u32 | size ) |
s32 OSCheckHeap | ( | int | heap | ) |
int OSCreateHeap | ( | void * | start, |
void * | end ) |
void OSDestroyHeap | ( | int | heap | ) |
void OSDumpHeap | ( | int | heap | ) |
void OSFreeToHeap | ( | int | heap, |
void * | ptr ) |
void * OSInitAlloc | ( | void * | arenaStart, |
void * | arenaEnd, | ||
int | maxHeaps ) |
u32 OSReferentSize | ( | void * | ptr | ) |
int OSSetCurrentHeap | ( | int | heap | ) |
void OSVisitAllocated | ( | void(* | visitor )(void *, u32) | ) |
volatile int __OSCurrHeap = -1 |
|
static |
|
static |
|
static |
|
static |