vitasdk
Documentation of the vitasdk
heap.h File Reference

Go to the source code of this file.

Data Structures

struct  SceKernelHeapCreateOpt
 
struct  SceAllocOpt
 
union  SceKernelHeapCreateOpt.__unnamed36__
 

Enumerations

enum  SceKernelHeapAttr { SCE_KERNEL_HEAP_ATTR_HAS_AUTO_EXTEND = 0x00000001 , SCE_KERNEL_HEAP_ATTR_HAS_MEMORY_TYPE = 0x00000400 }
 

Functions

 VITASDK_BUILD_ASSERT_EQ (0x1C, SceKernelHeapCreateOpt)
 
 VITASDK_BUILD_ASSERT_EQ (0x14, SceAllocOpt)
 
SceUID ksceKernelCreateHeap (const char *name, SceSize size, SceKernelHeapCreateOpt *opt)
 Create heap area. More...
 
int ksceKernelDeleteHeap (SceUID uid)
 Delete heap area. More...
 
void * ksceKernelAllocHeapMemory (SceUID uid, SceSize size)
 Allocation the specified length of memory from heap. More...
 
void * ksceKernelAllocHeapMemoryWithOption (SceUID heapid, SceSize len, SceAllocOpt *opt)
 Allocation the specified length of memory from heap with option. More...
 
int ksceKernelFreeHeapMemory (SceUID uid, void *ptr)
 Free allocated memory. More...
 
void * ksceKernelAlloc (unsigned int size)
 Alloc kernel memory. More...
 
int ksceKernelFree (void *ptr)
 Free kernel memory. More...
 
int ksceKernelGetHeapInfo (SceUID heapid, SceUInt32 level, void *pInfo)
 
int ksceKernelGetHeapInfoByPtr (void *pObject, void *pInfo)