RetroArch
Functions | Variables
memory.c File Reference
#include <malloc.h>
#include <string.h>
#include "memory.h"
#include <wiiu/mem.h>
Include dependency graph for memory.c:

Functions

void memoryInitialize (void)
 
void memoryRelease (void)
 
void_memalign_r (struct _reent *r, size_t alignment, size_t size)
 
void_malloc_r (struct _reent *r, size_t size)
 
void _free_r (struct _reent *r, void *ptr)
 
size_t _malloc_usable_size_r (struct _reent *r, void *ptr)
 
void_realloc_r (struct _reent *r, void *ptr, size_t size)
 
void_calloc_r (struct _reent *r, size_t num, size_t size)
 
void_valloc_r (struct _reent *r, size_t size)
 
voidMEM2_alloc (unsigned int size, unsigned int align)
 
void MEM2_free (void *ptr)
 
voidMEM1_alloc (unsigned int size, unsigned int align)
 
void MEM1_free (void *ptr)
 
voidMEMBucket_alloc (unsigned int size, unsigned int align)
 
void MEMBucket_free (void *ptr)
 

Variables

static MEMExpandedHeapmem1_heap
 
static MEMExpandedHeapbucket_heap
 

Function Documentation

◆ _calloc_r()

void* _calloc_r ( struct _reent *  r,
size_t  num,
size_t  size 
)
Here is the call graph for this function:

◆ _free_r()

void _free_r ( struct _reent *  r,
void ptr 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _malloc_r()

void* _malloc_r ( struct _reent *  r,
size_t  size 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _malloc_usable_size_r()

size_t _malloc_usable_size_r ( struct _reent *  r,
void ptr 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _memalign_r()

void* _memalign_r ( struct _reent *  r,
size_t  alignment,
size_t  size 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _realloc_r()

void* _realloc_r ( struct _reent *  r,
void ptr,
size_t  size 
)
Here is the call graph for this function:

◆ _valloc_r()

void* _valloc_r ( struct _reent *  r,
size_t  size 
)
Here is the call graph for this function:

◆ MEM1_alloc()

void* MEM1_alloc ( unsigned int  size,
unsigned int  align 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ MEM1_free()

void MEM1_free ( void ptr)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ MEM2_alloc()

void* MEM2_alloc ( unsigned int  size,
unsigned int  align 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ MEM2_free()

void MEM2_free ( void ptr)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ MEMBucket_alloc()

void* MEMBucket_alloc ( unsigned int  size,
unsigned int  align 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ MEMBucket_free()

void MEMBucket_free ( void ptr)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ memoryInitialize()

void memoryInitialize ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ memoryRelease()

void memoryRelease ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ bucket_heap

MEMExpandedHeap* bucket_heap
static

◆ mem1_heap

MEMExpandedHeap* mem1_heap
static