105#if defined(_PSP_FW_VERSION) && _PSP_FW_VERSION >= 150
SceUID sceKernelAllocPartitionMemory(SceUID partitionid, const char *name, int type, SceSize size, void *addr)
Allocate a memory block from a memory partition.
SceSize sceKernelMaxFreeMemSize(void)
Get the size of the largest free memory block.
SceSize sceKernelTotalFreeMemSize(void)
Get the total amount of free memory.
int sceKernelDevkitVersion(void)
Get the firmware version.
PspSysMemBlockTypes
Specifies the type of allocation used for memory blocks.
Definition pspsysmem.h:33
void * sceKernelGetBlockHeadAddr(SceUID blockid)
Get the address of a memory block.
int sceKernelFreePartitionMemory(SceUID blockid)
Free a memory block allocated with sceKernelAllocPartitionMemory.
int SceKernelSysMemAlloc_t
Definition pspsysmem.h:42
int sceKernelGetCompiledSdkVersion(void)
Get the SDK version set with sceKernelSetCompiledSdkVersion().
int sceKernelSetCompiledSdkVersion(int version)
Set the version of the SDK with which the caller was compiled.
@ PSP_SMEM_High
Allocate from the highest available address.
Definition pspsysmem.h:37
@ PSP_SMEM_Low
Allocate from the lowest available address.
Definition pspsysmem.h:35
@ PSP_SMEM_Addr
Allocate from the specified address.
Definition pspsysmem.h:39
struct sockaddr_in __attribute__
Writes gmon.out dump file and stops profiling Called from atexit() handler; will dump out a gmon....
Definition prof.c:169
unsigned int SceSize
Definition pspkerneltypes.h:27
int SceUID
UIDs are used to describe many different kernel objects.
Definition pspkerneltypes.h:24
unsigned char version[2]
Definition psploadcore.h:2
char * name
Definition pspsysmem_kernel.h:4
unsigned char size
Definition pspsysmem_kernel.h:6
struct _uidControlBlock * type
Definition pspsysmem_kernel.h:2
float x
Definition psptypes.h:0