WUT  0.1
Wii U Toolchain
Typedefs | Enumerations | Functions
Frame Heap

Typedefs

typedef uint32_t MEMFrameHeapFreeMode
 

Enumerations

enum  MEMFrameHeapFreeMode { MEM_FRAME_HEAP_FREE_FROM_BOTTOM = 1 << 0, MEM_FRAME_HEAP_FREE_FROM_TOP = 1 << 1 }
 

Functions

MEMFrameHeap * MEMCreateFrmHeap (MEMFrameHeap *heap, uint32_t size)
 
MEMFrameHeap * MEMCreateFrmHeapEx (MEMFrameHeap *heap, uint32_t size, uint16_t flags)
 
void * MEMDestroyFrmHeap (MEMFrameHeap *heap)
 
void * MEMAllocFromFrmHeap (MEMFrameHeap *heap, uint32_t size)
 
void * MEMAllocFromFrmHeapEx (MEMFrameHeap *heap, uint32_t size, int alignment)
 
void MEMFreeToFrmHeap (MEMFrameHeap *heap, MEMFrameHeapFreeMode mode)
 
BOOL MEMRecordStateForFrmHeap (MEMFrameHeap *heap, uint32_t tag)
 
BOOL MEMFreeByStateToFrmHeap (MEMFrameHeap *heap, uint32_t tag)
 
uint32_t MEMAdjustFrmHeap (MEMFrameHeap *heap)
 
uint32_t MEMResizeForMBlockFrmHeap (MEMFrameHeap *heap, uint32_t addr, uint32_t size)
 
uint32_t MEMGetAllocatableSizeForFrmHeap (MEMFrameHeap *heap)
 
uint32_t MEMGetAllocatableSizeForFrmHeapEx (MEMFrameHeap *heap, int alignment)
 

Detailed Description

Typedef Documentation

typedef uint32_t MEMFrameHeapFreeMode

Definition at line 14 of file frameheap.h.

Enumeration Type Documentation

Enumerator
MEM_FRAME_HEAP_FREE_FROM_BOTTOM 
MEM_FRAME_HEAP_FREE_FROM_TOP 

Definition at line 16 of file frameheap.h.

Function Documentation

uint32_t MEMAdjustFrmHeap ( MEMFrameHeap *  heap)
void* MEMAllocFromFrmHeap ( MEMFrameHeap *  heap,
uint32_t  size 
)
void* MEMAllocFromFrmHeapEx ( MEMFrameHeap *  heap,
uint32_t  size,
int  alignment 
)
MEMFrameHeap* MEMCreateFrmHeap ( MEMFrameHeap *  heap,
uint32_t  size 
)
MEMFrameHeap* MEMCreateFrmHeapEx ( MEMFrameHeap *  heap,
uint32_t  size,
uint16_t  flags 
)
void* MEMDestroyFrmHeap ( MEMFrameHeap *  heap)
BOOL MEMFreeByStateToFrmHeap ( MEMFrameHeap *  heap,
uint32_t  tag 
)
void MEMFreeToFrmHeap ( MEMFrameHeap *  heap,
MEMFrameHeapFreeMode  mode 
)
uint32_t MEMGetAllocatableSizeForFrmHeap ( MEMFrameHeap *  heap)
uint32_t MEMGetAllocatableSizeForFrmHeapEx ( MEMFrameHeap *  heap,
int  alignment 
)
BOOL MEMRecordStateForFrmHeap ( MEMFrameHeap *  heap,
uint32_t  tag 
)
uint32_t MEMResizeForMBlockFrmHeap ( MEMFrameHeap *  heap,
uint32_t  addr,
uint32_t  size 
)