|
SSBM Decomp
|
Data Structures | |
| struct | Cell |
| struct | HeapDesc |
Macros | |
| #define | ALIGNMENT 32 |
| #define | InRange(cell, arenaStart, arenaEnd) |
| #define | HEADERSIZE 32u |
| #define | MINOBJSIZE 64u |
| #define | ASSERTREPORT(line, cond) |
Functions | |
| static struct Cell * | DLAddFront (struct Cell *list, struct Cell *cell) |
| static struct Cell * | DLLookup (struct Cell *list, struct Cell *cell) |
| static struct Cell * | DLExtract (struct Cell *list, struct Cell *cell) |
| static struct Cell * | DLInsert (struct Cell *list, struct Cell *cell) |
| static int | DLOverlap (struct Cell *list, void *start, void *end) |
| static long | DLSize (struct Cell *list) |
| void * | OSAllocFromHeap (int heap, unsigned long 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) |
| long | OSCheckHeap (int heap) |
| unsigned long | OSReferentSize (void *ptr) |
| void | OSDumpHeap (int heap) |
| void | OSVisitAllocated (void(*visitor)(void *, unsigned long)) |
Variables | |
| volatile int | __OSCurrHeap = -1 |
| static struct HeapDesc * | HeapArray |
| static int | NumHeaps |
| static void * | ArenaStart |
| static void * | ArenaEnd |
| #define ALIGNMENT 32 |
| #define InRange | ( | cell, | |
| arenaStart, | |||
| arenaEnd ) |
| #define HEADERSIZE 32u |
| #define MINOBJSIZE 64u |
| #define ASSERTREPORT | ( | line, | |
| cond ) |
|
static |
|
static |
| void * OSAllocFromHeap | ( | int | heap, |
| unsigned long | 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 ) |
| long OSCheckHeap | ( | int | heap | ) |
| unsigned long OSReferentSize | ( | void * | ptr | ) |
| void OSDumpHeap | ( | int | heap | ) |
| void OSVisitAllocated | ( | void(* | visitor )(void *, unsigned long) | ) |
| volatile int __OSCurrHeap = -1 |
|
static |
|
static |
|
static |
|
static |