|
psl1ght
A free SDK for Sony's PS3 console
|
Heap management functions. More...
#include <ppu-types.h>Go to the source code of this file.
Data Structures | |
| struct | _heap_block_t |
| struct | _heap_cntrl_t |
Macros | |
| #define | HEAP_PREV_USED 1 |
| #define | HEAP_MIN_BLOCK_SIZE (sizeof(heap_block)) |
| #define | HEAP_BLOCK_HEADER_OFFSET (sizeof(u32)) |
| #define | HEAP_BLOCK_USER_OFFSET (sizeof(u32)*2) |
| #define | HEAP_BLOCK_USED_OVERHEAD (HEAP_BLOCK_USER_OFFSET - HEAP_BLOCK_HEADER_OFFSET) |
| #define | HEAP_OVERHEAD HEAP_BLOCK_USER_OFFSET |
Typedefs | |
| typedef struct _heap_block_t | heap_block |
| typedef struct _heap_cntrl_t | heap_cntrl |
Functions | |
| u32 | heapInit (heap_cntrl *theheap, void *start_addr, u32 size) |
| void * | heapAllocate (heap_cntrl *theheap, u32 size) |
| void * | heapAllocateAligned (heap_cntrl *theheap, u32 size, u32 alignment) |
| bool | heapFree (heap_cntrl *theheap, void *ptr) |
Heap management functions.
1.8.15