psl1ght
A free SDK for Sony's PS3 console
|
RSX memory management. More...
#include <ppu-types.h>
Go to the source code of this file.
Functions | |
s32 | rsxHeapInit () |
Initialize the RSX heap. More... | |
void * | rsxMalloc (u32 size) |
Dynamic allocation of RSX memory. More... | |
void * | rsxMemalign (u32 alignment, u32 size) |
Dynamic allocation of aligned RSX memory. More... | |
void | rsxFree (void *ptr) |
Deallocation of a previously dynamically allocated RSX buffer. More... | |
RSX memory management.
void rsxFree | ( | void * | ptr | ) |
Deallocation of a previously dynamically allocated RSX buffer.
The buffer must have been allocated with rsxMalloc or rsxMemalign.
ptr | Pointer to the allocated buffer. |
s32 rsxHeapInit | ( | ) |
Initialize the RSX heap.
void* rsxMalloc | ( | u32 | size | ) |
Dynamic allocation of RSX memory.
size | Size in bytes of buffer to be allocated. |
NULL
if an error occured. void* rsxMemalign | ( | u32 | alignment, |
u32 | size | ||
) |
Dynamic allocation of aligned RSX memory.
alignment | The required alignment value. |
size | Size in bytes of buffer to be allocated. |
NULL
if an error occured.