pspsysmem_kernel.h File Reference

#include <pspkerneltypes.h>
#include <pspsysmem.h>

Go to the source code of this file.

Data Structures

struct  _PspSysmemPartitionInfo
struct  _uidControlBlock
 Structure of a UID control block. More...

Typedefs

typedef _PspSysmemPartitionInfo PspSysmemPartitionInfo
typedef _uidControlBlock uidControlBlock

Functions

int sceKernelQueryMemoryPartitionInfo (int pid, PspSysmemPartitionInfo *info)
 Query the parition information.
SceSize sceKernelPartitionTotalFreeMemSize (int pid)
 Get the total amount of free memory.
SceSize sceKernelPartitionMaxFreeMemSize (int pid)
 Get the size of the largest free memory block.
void sceKernelSysMemDump (void)
 Get the kernel to dump the internal memory table to Kprintf.
void sceKernelSysMemDumpBlock (void)
 Dump the list of memory blocks.
void sceKernelSysMemDumpTail (void)
 Dump the tail blocks.
int sceKernelSetDdrMemoryProtection (void *addr, int size, int prot)
 Set the protection of a block of ddr memory.
SceUID sceKernelCreateHeap (SceUID partitionid, SceSize size, int unk, const char *name)
 Create a heap.
void * sceKernelAllocHeapMemory (SceUID heapid, SceSize size)
 Allocate a memory block from a heap.
int sceKernelFreeHeapMemory (SceUID heapid, void *block)
 Free a memory block allocated from a heap.
int sceKernelDeleteHeap (SceUID heapid)
 Delete a heap.
SceSize sceKernelHeapTotalFreeSize (SceUID heapid)
 Get the amount of free size of a heap, in bytes.
int sceKernelGetUIDcontrolBlock (SceUID uid, uidControlBlock **block)
 Get a UID control block.
int sceKernelGetUIDcontrolBlockWithType (SceUID uid, uidControlBlock *type, uidControlBlock **block)
 Get a UID control block on a particular type.
uidControlBlockSysMemForKernel_536AD5E1 (void)
 Get the root of the UID tree (1.5+ only).
int sceKernelDeleteUID (SceUID uid)
 Delete a UID.

Variables

_uidControlBlock packed
 Structure of a UID control block.


Generated on Tue Jul 24 15:21:24 2007 for PSPSDK-Rev2272 by  doxygen 1.5.2