RetroArch
Classes | Typedefs | Enumerations | Functions
frameheap.h File Reference
#include <wiiu/types.h>
#include "memheap.h"
Include dependency graph for frameheap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MEMFrameHeapState
 
struct  MEMFrameHeap
 

Typedefs

typedef enum MEMFrameHeapFreeMode MEMFrameHeapFreeMode
 
typedef struct MEMFrameHeapState MEMFrameHeapState
 
typedef struct MEMFrameHeap MEMFrameHeap
 

Enumerations

enum  MEMFrameHeapFreeMode { MEM_FRAME_HEAP_FREE_HEAD = 1 << 0, MEM_FRAME_HEAP_FREE_TAIL = 1 << 1, MEM_FRAME_HEAP_FREE_ALL = MEM_FRAME_HEAP_FREE_HEAD | MEM_FRAME_HEAP_FREE_TAIL }
 

Functions

MEMFrameHeapMEMCreateFrmHeapEx (void *heap, uint32_t size, uint32_t flags)
 
voidMEMDestroyFrmHeap (MEMFrameHeap *heap)
 
voidMEMAllocFromFrmHeapEx (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 MEMGetAllocatableSizeForFrmHeapEx (MEMFrameHeap *heap, int alignment)
 

Typedef Documentation

◆ MEMFrameHeap

typedef struct MEMFrameHeap MEMFrameHeap

◆ MEMFrameHeapFreeMode

◆ MEMFrameHeapState

Enumeration Type Documentation

◆ MEMFrameHeapFreeMode

Enumerator
MEM_FRAME_HEAP_FREE_HEAD 
MEM_FRAME_HEAP_FREE_TAIL 
MEM_FRAME_HEAP_FREE_ALL 

Function Documentation

◆ MEMAdjustFrmHeap()

uint32_t MEMAdjustFrmHeap ( MEMFrameHeap heap)

◆ MEMAllocFromFrmHeapEx()

void* MEMAllocFromFrmHeapEx ( MEMFrameHeap heap,
uint32_t  size,
int  alignment 
)
Here is the caller graph for this function:

◆ MEMCreateFrmHeapEx()

MEMFrameHeap* MEMCreateFrmHeapEx ( void heap,
uint32_t  size,
uint32_t  flags 
)

◆ MEMDestroyFrmHeap()

void* MEMDestroyFrmHeap ( MEMFrameHeap heap)

◆ MEMFreeByStateToFrmHeap()

BOOL MEMFreeByStateToFrmHeap ( MEMFrameHeap heap,
uint32_t  tag 
)

◆ MEMFreeToFrmHeap()

void MEMFreeToFrmHeap ( MEMFrameHeap heap,
MEMFrameHeapFreeMode  mode 
)
Here is the caller graph for this function:

◆ MEMGetAllocatableSizeForFrmHeapEx()

uint32_t MEMGetAllocatableSizeForFrmHeapEx ( MEMFrameHeap heap,
int  alignment 
)
Here is the caller graph for this function:

◆ MEMRecordStateForFrmHeap()

BOOL MEMRecordStateForFrmHeap ( MEMFrameHeap heap,
uint32_t  tag 
)

◆ MEMResizeForMBlockFrmHeap()

uint32_t MEMResizeForMBlockFrmHeap ( MEMFrameHeap heap,
uint32_t  addr,
uint32_t  size 
)