106#if defined(_PSP_FW_VERSION) && _PSP_FW_VERSION >= 150
114void sceKernelPrintf(
const char *format, ...) __attribute__((format(printf, 1, 2)));
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:34
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:43
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:38
@ PSP_SMEM_Low
Allocate from the lowest available address.
Definition pspsysmem.h:36
@ PSP_SMEM_Addr
Allocate from the specified address.
Definition pspsysmem.h:40
int SceUID
UIDs are used to describe many different kernel objects.
Definition pspkerneltypes.h:24
unsigned int SceSize
Definition psptypes.h:103