psl1ght
A free SDK for Sony's PS3 console
mm.h
Go to the documentation of this file.
1 
5 #ifndef __RSX_MM_H__
6 #define __RSX_MM_H__
7 
8 #include <ppu-types.h>
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
17 s32 rsxHeapInit();
18 
23 void* rsxMalloc(u32 size);
24 
30 void* rsxMemalign(u32 alignment,u32 size);
31 
37 void rsxFree(void *ptr);
38 
39 #ifdef __cplusplus
40  }
41 #endif
42 
43 #endif
void * rsxMemalign(u32 alignment, u32 size)
Dynamic allocation of aligned RSX memory.
s32 rsxHeapInit()
Initialize the RSX heap.
void rsxFree(void *ptr)
Deallocation of a previously dynamically allocated RSX buffer.
void * rsxMalloc(u32 size)
Dynamic allocation of RSX memory.