psl1ght
A free SDK for Sony's PS3 console
memory.h
Go to the documentation of this file.
1 
5 #ifndef __LV2_MEMORY_H__
6 #define __LV2_MEMORY_H__
7 
8 #include <ppu-types.h>
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 s32 sysMMapperAllocateMemory(size_t size,u64 flags,sys_mem_id_t *mem_id);
15 s32 sysMMapperAllocateMemoryFromContainer(size_t size,sys_mem_container_t container,u64 flags,sys_mem_id_t *mem_id);
16 s32 sysMMapperFreeMemory(sys_mem_id_t mem_id);
17 s32 sysMMapperMapMemory(sys_mem_addr_t start_addr,sys_mem_id_t mem_id,u64 flags);
18 s32 sysMMapperUnmapMemory(sys_mem_addr_t start_addr,sys_mem_id_t *mem_id);
19 
20 #ifdef __cplusplus
21  }
22 #endif
23 
24 #endif