vitasdk
Documentation of the vitasdk
sysmem.h File Reference

Go to the source code of this file.

Data Structures

struct  SceKernelAllocMemBlockOpt
 
struct  SceKernelFreeMemorySizeInfo
 
struct  SceKernelMemBlockInfo
 

Enumerations

enum  SceKernelMemoryAccessType { SCE_KERNEL_MEMORY_ACCESS_X = 0x01 , SCE_KERNEL_MEMORY_ACCESS_W = 0x02 , SCE_KERNEL_MEMORY_ACCESS_R = 0x04 }
 
enum  SceKernelMemoryType { SCE_KERNEL_MEMORY_TYPE_NORMAL_NC = 0x80 , SCE_KERNEL_MEMORY_TYPE_NORMAL = 0xD0 }
 

Functions

 VITASDK_BUILD_ASSERT_EQ (0x40, SceKernelAllocMemBlockOpt)
 
 VITASDK_BUILD_ASSERT_EQ (0x10, SceKernelFreeMemorySizeInfo)
 
 VITASDK_BUILD_ASSERT_EQ (0x18, SceKernelMemBlockInfo)
 
SceUID sceKernelAllocMemBlock (const char *name, SceKernelMemBlockType type, SceSize size, SceKernelAllocMemBlockOpt *opt)
 Allocates a new memory block.
 
int sceKernelFreeMemBlock (SceUID uid)
 Frees new memory block.
 
int sceKernelGetMemBlockBase (SceUID uid, void **base)
 Gets the base address of a memory block.
 
SceUID sceKernelFindMemBlockByAddr (const void *addr, SceSize size)
 
int sceKernelGetMemBlockInfoByAddr (void *base, SceKernelMemBlockInfo *info)
 
int sceKernelGetMemBlockInfoByRange (void *base, SceSize size, SceKernelMemBlockInfo *info)
 
SceUID sceKernelAllocMemBlockForVM (const char *name, SceSize size)
 
int sceKernelSyncVMDomain (SceUID uid, void *data, SceSize size)
 
int sceKernelOpenVMDomain (void)
 
int sceKernelCloseVMDomain (void)
 
int sceKernelOpenMemBlock (const char *name, int flags)
 
int sceKernelCloseMemBlock (SceUID uid)
 
int sceKernelGetModelForCDialog (void)
 Get the model number of the device.
 
int sceKernelGetModel (void)
 Get the model number of the device.
 
int sceKernelGetFreeMemorySize (SceKernelFreeMemorySizeInfo *info)
 Get free memory size in bytes.
 
int sceKernelIsPSVitaTV (void)