wut
v1.7.0
Wii U Toolchain
|
Data Structures | |
struct | MEMExpHeapBlock |
struct | MEMExpHeapBlockList |
struct | MEMExpHeap |
Typedefs | |
typedef struct MEMExpHeap | MEMExpHeap |
typedef struct MEMExpHeapBlock | MEMExpHeapBlock |
typedef struct MEMExpHeapBlockList | MEMExpHeapBlockList |
typedef void(* | MEMExpHeapBlockVisitor) (void *block, MEMHeapHandle heap, void *context) |
typedef enum MEMExpHeapMode | MEMExpHeapMode |
typedef enum MEMExpHeapDirection | MEMExpHeapDirection |
typedef enum MEMExpHeapCheckFlags | MEMExpHeapCheckFlags |
Enumerations | |
enum | MEMExpHeapMode { MEM_EXP_HEAP_MODE_FIRST_FREE = 0 , MEM_EXP_HEAP_MODE_NEAREST_SIZE = 1 } |
enum | MEMExpHeapDirection { MEM_EXP_HEAP_DIR_FROM_TOP = 0 , MEM_EXP_HEAP_DIR_FROM_BOTTOM = 1 } |
enum | MEMExpHeapCheckFlags { MEM_EXP_HEAP_CHECK_FLAGS_NONE = 0 , MEM_EXP_HEAP_CHECK_FLAGS_LOG_ERRORS = 1 } |
struct MEMExpHeapBlock |
Definition at line 40 of file memexpheap.h.
Data Fields | ||
---|---|---|
uint32_t | attribs | |
uint32_t | blockSize | |
MEMExpHeapBlock * | prev | |
MEMExpHeapBlock * | next | |
uint16_t | tag |
struct MEMExpHeapBlockList |
Definition at line 56 of file memexpheap.h.
Data Fields | ||
---|---|---|
MEMExpHeapBlock * | head | |
MEMExpHeapBlock * | tail |
struct MEMExpHeap |
Definition at line 65 of file memexpheap.h.
Data Fields | ||
---|---|---|
MEMHeapHeader | header | |
MEMExpHeapBlockList | freeList | |
MEMExpHeapBlockList | usedList | |
uint16_t | groupId | |
uint16_t | attribs |
typedef struct MEMExpHeap MEMExpHeap |
Definition at line 1 of file memexpheap.h.
typedef struct MEMExpHeapBlock MEMExpHeapBlock |
Definition at line 1 of file memexpheap.h.
typedef struct MEMExpHeapBlockList MEMExpHeapBlockList |
Definition at line 1 of file memexpheap.h.
typedef void(* MEMExpHeapBlockVisitor) (void *block, MEMHeapHandle heap, void *context) |
Definition at line 19 of file memexpheap.h.
typedef enum MEMExpHeapMode MEMExpHeapMode |
typedef enum MEMExpHeapDirection MEMExpHeapDirection |
typedef enum MEMExpHeapCheckFlags MEMExpHeapCheckFlags |
enum MEMExpHeapMode |
Enumerator | |
---|---|
MEM_EXP_HEAP_MODE_FIRST_FREE | |
MEM_EXP_HEAP_MODE_NEAREST_SIZE |
Definition at line 22 of file memexpheap.h.
enum MEMExpHeapDirection |
Enumerator | |
---|---|
MEM_EXP_HEAP_DIR_FROM_TOP | |
MEM_EXP_HEAP_DIR_FROM_BOTTOM |
Definition at line 28 of file memexpheap.h.
enum MEMExpHeapCheckFlags |
Enumerator | |
---|---|
MEM_EXP_HEAP_CHECK_FLAGS_NONE | |
MEM_EXP_HEAP_CHECK_FLAGS_LOG_ERRORS |
Definition at line 34 of file memexpheap.h.
MEMHeapHandle MEMCreateExpHeapEx | ( | void * | heap, |
uint32_t | size, | ||
uint16_t | flags | ||
) |
void* MEMDestroyExpHeap | ( | MEMHeapHandle | heap | ) |
void* MEMAllocFromExpHeapEx | ( | MEMHeapHandle | heap, |
uint32_t | size, | ||
int | alignment | ||
) |
void MEMFreeToExpHeap | ( | MEMHeapHandle | heap, |
void * | block | ||
) |
MEMExpHeapMode MEMSetAllocModeForExpHeap | ( | MEMHeapHandle | heap, |
MEMExpHeapMode | mode | ||
) |
MEMExpHeapMode MEMGetAllocModeForExpHeap | ( | MEMHeapHandle | heap | ) |
uint32_t MEMAdjustExpHeap | ( | MEMHeapHandle | heap | ) |
uint32_t MEMResizeForMBlockExpHeap | ( | MEMHeapHandle | heap, |
void * | block, | ||
uint32_t | size | ||
) |
uint32_t MEMGetTotalFreeSizeForExpHeap | ( | MEMHeapHandle | heap | ) |
uint32_t MEMGetAllocatableSizeForExpHeapEx | ( | MEMHeapHandle | heap, |
int | alignment | ||
) |
uint16_t MEMSetGroupIDForExpHeap | ( | MEMHeapHandle | heap, |
uint16_t | id | ||
) |
uint16_t MEMGetGroupIDForExpHeap | ( | MEMHeapHandle | heap | ) |
uint32_t MEMGetSizeForMBlockExpHeap | ( | void * | block | ) |
uint16_t MEMGetGroupIDForMBlockExpHeap | ( | void * | block | ) |
MEMExpHeapDirection MEMGetAllocDirForMBlockExpHeap | ( | void * | block | ) |
void MEMVisitAllocatedForExpHeap | ( | MEMHeapHandle | heap, |
MEMExpHeapBlockVisitor | callback, | ||
void * | context | ||
) |
BOOL MEMCheckExpHeap | ( | MEMHeapHandle | handle, |
MEMExpHeapCheckFlags | mode | ||
) |