wut
1.0.0-beta9
Wii U Toolchain
|
void * dataEnd
Pointer to end of allocatable memory.
@ MEM_HEAP_FILL_TYPE_UNUSED
@ MEM_HEAP_FLAG_DEBUG_MODE
struct OSSpinLock OSSpinLock
MEMMemoryList list
List of all child heaps in this heap.
void * dataStart
Pointer to start of allocatable memory.
void MEMSetFillValForHeap(MEMHeapFillType type, uint32_t value)
Set the data fill value used when MEM_HEAP_FLAG_DEBUG_MODE is set.
MEMHeapHeader * MEMFindContainHeap(void *block)
Find heap which contains a memory block.
@ MEM_HEAP_FLAG_ZERO_ALLOCATED
MEMHeapHeader * MEMHeapHandle
MEMHeapHandle MEMCreateUserHeapHandle(void *heap, uint32_t size)
Create a heap handle for a user defined heap.
MEMBaseHeapType MEMGetArena(MEMHeapHandle handle)
Get which memory area a heap belongs to.
void MEMDumpHeap(MEMHeapHandle heap)
Print details about heap to COSWarn.
MEMHeapHandle MEMGetBaseHeapHandle(MEMBaseHeapType type)
Get base heap for memory area.
uint32_t flags
Flags set during heap creation.
OSSpinLock lock
Lock used when MEM_HEAP_FLAG_USE_LOCK is set.
MEMHeapHandle MEMFindParentHeap(MEMHeapHandle handle)
Find the parent heap of a given heap.
MEMMemoryLink link
Link for list this heap is in.
@ MEM_HEAP_FILL_TYPE_ALLOCATED
uint32_t MEMGetFillValForHeap(MEMHeapFillType type)
Get the data fill value used when MEM_HEAP_FLAG_DEBUG_MODE is set.
@ MEM_HEAP_FILL_TYPE_FREED
MEMHeapTag tag
Tag indicating which type of heap this is.
MEMHeapHandle MEMSetBaseHeapHandle(MEMBaseHeapType type, MEMHeapHandle handle)
Set base heap for memory area.