RetroArch
|
Go to the source code of this file.
Classes | |
struct | _heap_block_st |
struct | _heap_iblock_st |
struct | _heap_cntrl_st |
Macros | |
#define | HEAP_BLOCK_USED 1 |
#define | HEAP_BLOCK_FREE 0 |
#define | HEAP_DUMMY_FLAG (0+HEAP_BLOCK_USED) |
#define | HEAP_OVERHEAD (sizeof(u32)*2) |
#define | HEAP_BLOCK_USED_OVERHEAD (sizeof(void*)*2) |
#define | HEAP_MIN_SIZE (HEAP_OVERHEAD+sizeof(heap_block)) |
Typedefs | |
typedef struct _heap_block_st | heap_block |
typedef struct _heap_iblock_st | heap_iblock |
typedef struct _heap_cntrl_st | heap_cntrl |
Functions | |
u32 | __lwp_heap_init (heap_cntrl *theheap, void *start_addr, u32 size, u32 pg_size) |
void * | __lwp_heap_allocate (heap_cntrl *theheap, u32 size) |
BOOL | __lwp_heap_free (heap_cntrl *theheap, void *ptr) |
u32 | __lwp_heap_getinfo (heap_cntrl *theheap, heap_iblock *theinfo) |
#define HEAP_BLOCK_FREE 0 |
#define HEAP_BLOCK_USED 1 |
#define HEAP_BLOCK_USED_OVERHEAD (sizeof(void*)*2) |
#define HEAP_DUMMY_FLAG (0+HEAP_BLOCK_USED) |
#define HEAP_MIN_SIZE (HEAP_OVERHEAD+sizeof(heap_block)) |
#define HEAP_OVERHEAD (sizeof(u32)*2) |
typedef struct _heap_block_st heap_block |
typedef struct _heap_cntrl_st heap_cntrl |
typedef struct _heap_iblock_st heap_iblock |
void* __lwp_heap_allocate | ( | heap_cntrl * | theheap, |
u32 | size | ||
) |
BOOL __lwp_heap_free | ( | heap_cntrl * | theheap, |
void * | ptr | ||
) |
u32 __lwp_heap_getinfo | ( | heap_cntrl * | theheap, |
heap_iblock * | theinfo | ||
) |
u32 __lwp_heap_init | ( | heap_cntrl * | theheap, |
void * | start_addr, | ||
u32 | size, | ||
u32 | pg_size | ||
) |