vitasdk
Documentation of the vitasdk

Detailed Description

Exports for Kernel


Using this library in your project

Include the header file in your project:

#include <psp2common/types.h>



Exports for Kernel


Using this library in your project

Include the header file in your project:

#include <psp2kern/types.h>



Typedefs

typedef int8_t SceChar8
 
typedef uint8_t SceUChar8
 
typedef int8_t SceInt8
 
typedef uint8_t SceUInt8
 
typedef int16_t SceShort16
 
typedef uint16_t SceUShort16
 
typedef int16_t SceInt16
 
typedef uint16_t SceUInt16
 
typedef int32_t SceInt32
 
typedef uint32_t SceUInt32
 
typedef int32_t SceInt
 
typedef uint32_t SceUInt
 
typedef int64_t SceInt64
 
typedef uint64_t SceUInt64
 
typedef int64_t SceLong64
 
typedef uint64_t SceULong64
 
typedef unsigned int SceSize
 
typedef int SceSSize
 
typedef int SceBool
 
typedef float SceFloat
 
typedef float SceFloat32
 
typedef double SceDouble
 
typedef double SceDouble64
 
typedef signed char SceSByte
 
typedef signed char SceSByte8
 
typedef unsigned char SceByte
 
typedef unsigned char SceByte8
 
typedef uint16_t SceWChar16
 
typedef uint32_t SceWChar32
 
typedef void SceVoid
 
typedef void * ScePVoid
 
typedef int SceIntPtr
 
typedef unsigned int SceUIntPtr
 
typedef SceUIntPtr SceUIntVAddr
 
typedef int SceMode
 Mode for I/O functions. More...
 
typedef SceInt64 SceOff
 Offset type. More...
 
typedef int SceUID
 UIDs are used to describe many different kernel objects. More...
 
typedef int ScePID
 Process ID. More...
 
typedef unsigned int SceNID
 Library/Function NID. More...
 
typedef char * SceName
 Names are used to describe object names. More...
 
typedef SceUInt64 SceKernelSysClock
 64-bit system clock type. More...
 
typedef SceKernelPAVector SceKernelPaddrList
 

Macros

#define SCE_KERNEL_THREAD_ID_SELF   0
 Current thread's UID - pass to APIs expecting a thread ID to operate on calling thread. More...
 
#define SCE_KERNEL_PROCESS_ID_SELF   0
 Current process's UID - pass to APIs expecting a process ID to operate on calling process. More...
 
#define SCE_UID_NAMELEN   31
 Maximum length for kernel object names. More...
 
#define SCE_OK   (0)
 
#define SCE_KERNEL_1KiB   (0x400)
 
#define SCE_KERNEL_2KiB   (0x800)
 
#define SCE_KERNEL_4KiB   (0x1000)
 
#define SCE_KERNEL_8KiB   (0x2000)
 
#define SCE_KERNEL_16KiB   (0x4000)
 
#define SCE_KERNEL_32KiB   (0x8000)
 
#define SCE_KERNEL_64KiB   (0x10000)
 
#define SCE_KERNEL_128KiB   (0x20000)
 
#define SCE_KERNEL_256KiB   (0x40000)
 
#define SCE_KERNEL_512KiB   (0x80000)
 
#define SCE_KERNEL_1MiB   (0x100000)
 
#define SCE_KERNEL_2MiB   (0x200000)
 
#define SCE_KERNEL_4MiB   (0x400000)
 
#define SCE_KERNEL_8MiB   (0x800000)
 
#define SCE_KERNEL_16MiB   (0x1000000)
 
#define SCE_KERNEL_32MiB   (0x2000000)
 
#define SCE_KERNEL_64MiB   (0x4000000)
 
#define SCE_KERNEL_128MiB   (0x8000000)
 
#define SCE_KERNEL_256MiB   (0x10000000)
 
#define SCE_KERNEL_512MiB   (0x20000000)
 
#define SCE_KERNEL_1GiB   (0x40000000)
 
#define SCE_KERNEL_2GiB   (0x80000000)
 
#define SCE_KERNEL_4GiB   (0x100000000LL)
 
#define SCE_KERNEL_8GiB   (0x200000000LL)
 
#define SCE_KERNEL_16GiB   (0x400000000LL)
 
#define SCE_KERNEL_32GiB   (0x800000000LL)
 

Data Structure Documentation

◆ SceIVector2

struct SceIVector2
Data Fields
SceInt x
SceInt y

◆ SceFVector2

struct SceFVector2
Data Fields
SceFloat x
SceFloat y

◆ SceIVector3

struct SceIVector3
Data Fields
SceInt x
SceInt y
SceInt z

◆ SceFVector3

struct SceFVector3
Data Fields
SceFloat x
SceFloat y
SceFloat z

◆ SceIVector4

struct SceIVector4
Data Fields
SceInt x
SceInt y
SceInt z
SceInt w

◆ SceFVector4

struct SceFVector4
Data Fields
SceFloat x
SceFloat y
SceFloat z
SceFloat w

◆ SceIMatrix2

struct SceIMatrix2
Data Fields
SceIVector2 x
SceIVector2 y

◆ SceFMatrix2

struct SceFMatrix2
Data Fields
SceFVector2 x
SceFVector2 y

◆ SceIMatrix3

struct SceIMatrix3
Data Fields
SceIVector3 x
SceIVector3 y
SceIVector3 z

◆ SceFMatrix3

struct SceFMatrix3
Data Fields
SceFVector3 x
SceFVector3 y
SceFVector3 z

◆ SceIMatrix4

struct SceIMatrix4

◆ SceFMatrix4

struct SceFMatrix4

◆ SceFQuaternion

struct SceFQuaternion
Data Fields
SceFloat x
SceFloat y
SceFloat z
SceFloat w

◆ SceFColor

struct SceFColor
Data Fields
SceFloat r
SceFloat g
SceFloat b
SceFloat a

◆ SceFPlane

struct SceFPlane
Data Fields
SceFloat a
SceFloat b
SceFloat c
SceFloat d

◆ SceDateTime

struct SceDateTime
Data Fields
unsigned short year
unsigned short month
unsigned short day
unsigned short hour
unsigned short minute
unsigned short second
unsigned int microsecond

◆ SceKernelAddrPair

struct SceKernelAddrPair
Data Fields
uint32_t addr Address.
uint32_t length Length.

◆ SceKernelVARange

struct SceKernelVARange
Data Fields
uint32_t addr
SceSize size

◆ SceKernelPARange

struct SceKernelPARange
Data Fields
uint32_t addr
SceSize size

◆ SceKernelPAVector

struct SceKernelPAVector
Data Fields
SceSize size Size of this structure.
union SceKernelPAVector __unnamed__

◆ SceKernelPAVector.__unnamed__

union SceKernelPAVector.__unnamed__
Data Fields
__unnamed__ __unnamed__
__unnamed__ __unnamed__

◆ SceKernelPAVector.__unnamed__.__unnamed__

struct SceKernelPAVector.__unnamed__.__unnamed__
Data Fields
uint32_t ranges_size Ex: 8.
uint32_t data_in_vector Must be <= 8.
uint32_t count
SceKernelPARange * ranges

◆ SceSharedSecret

struct SceSharedSecret
Data Fields
uint8_t shared_secret_0[0x10]
uint8_t klicensee[0x10]
uint8_t shared_secret_2[0x10]
uint32_t shared_secret_3_0
uint32_t shared_secret_3_1
uint32_t shared_secret_3_2
uint32_t shared_secret_3_3

◆ SceSelfAuthInfo

struct SceSelfAuthInfo
Data Fields
SceUInt64 program_authority_id
uint8_t padding[8]
uint8_t capability[0x20]
uint8_t attribute[0x20]
SceSharedSecret secret

Macro Definition Documentation

◆ SCE_KERNEL_THREAD_ID_SELF

#define SCE_KERNEL_THREAD_ID_SELF   0

Current thread's UID - pass to APIs expecting a thread ID to operate on calling thread.

◆ SCE_KERNEL_PROCESS_ID_SELF

#define SCE_KERNEL_PROCESS_ID_SELF   0

Current process's UID - pass to APIs expecting a process ID to operate on calling process.

◆ SCE_UID_NAMELEN

#define SCE_UID_NAMELEN   31

Maximum length for kernel object names.

◆ SCE_OK

#define SCE_OK   (0)

◆ SCE_KERNEL_1KiB

#define SCE_KERNEL_1KiB   (0x400)

◆ SCE_KERNEL_2KiB

#define SCE_KERNEL_2KiB   (0x800)

◆ SCE_KERNEL_4KiB

#define SCE_KERNEL_4KiB   (0x1000)

◆ SCE_KERNEL_8KiB

#define SCE_KERNEL_8KiB   (0x2000)

◆ SCE_KERNEL_16KiB

#define SCE_KERNEL_16KiB   (0x4000)

◆ SCE_KERNEL_32KiB

#define SCE_KERNEL_32KiB   (0x8000)

◆ SCE_KERNEL_64KiB

#define SCE_KERNEL_64KiB   (0x10000)

◆ SCE_KERNEL_128KiB

#define SCE_KERNEL_128KiB   (0x20000)

◆ SCE_KERNEL_256KiB

#define SCE_KERNEL_256KiB   (0x40000)

◆ SCE_KERNEL_512KiB

#define SCE_KERNEL_512KiB   (0x80000)

◆ SCE_KERNEL_1MiB

#define SCE_KERNEL_1MiB   (0x100000)

◆ SCE_KERNEL_2MiB

#define SCE_KERNEL_2MiB   (0x200000)

◆ SCE_KERNEL_4MiB

#define SCE_KERNEL_4MiB   (0x400000)

◆ SCE_KERNEL_8MiB

#define SCE_KERNEL_8MiB   (0x800000)

◆ SCE_KERNEL_16MiB

#define SCE_KERNEL_16MiB   (0x1000000)

◆ SCE_KERNEL_32MiB

#define SCE_KERNEL_32MiB   (0x2000000)

◆ SCE_KERNEL_64MiB

#define SCE_KERNEL_64MiB   (0x4000000)

◆ SCE_KERNEL_128MiB

#define SCE_KERNEL_128MiB   (0x8000000)

◆ SCE_KERNEL_256MiB

#define SCE_KERNEL_256MiB   (0x10000000)

◆ SCE_KERNEL_512MiB

#define SCE_KERNEL_512MiB   (0x20000000)

◆ SCE_KERNEL_1GiB

#define SCE_KERNEL_1GiB   (0x40000000)

◆ SCE_KERNEL_2GiB

#define SCE_KERNEL_2GiB   (0x80000000)

◆ SCE_KERNEL_4GiB

#define SCE_KERNEL_4GiB   (0x100000000LL)

◆ SCE_KERNEL_8GiB

#define SCE_KERNEL_8GiB   (0x200000000LL)

◆ SCE_KERNEL_16GiB

#define SCE_KERNEL_16GiB   (0x400000000LL)

◆ SCE_KERNEL_32GiB

#define SCE_KERNEL_32GiB   (0x800000000LL)

Typedef Documentation

◆ SceChar8

typedef int8_t SceChar8

◆ SceUChar8

typedef uint8_t SceUChar8

◆ SceInt8

typedef int8_t SceInt8

◆ SceUInt8

typedef uint8_t SceUInt8

◆ SceShort16

typedef int16_t SceShort16

◆ SceUShort16

typedef uint16_t SceUShort16

◆ SceInt16

typedef int16_t SceInt16

◆ SceUInt16

typedef uint16_t SceUInt16

◆ SceInt32

typedef int32_t SceInt32

◆ SceUInt32

typedef uint32_t SceUInt32

◆ SceInt

typedef int32_t SceInt

◆ SceUInt

typedef uint32_t SceUInt

◆ SceInt64

typedef int64_t SceInt64

◆ SceUInt64

typedef uint64_t SceUInt64

◆ SceLong64

typedef int64_t SceLong64

◆ SceULong64

typedef uint64_t SceULong64

◆ SceSize

typedef unsigned int SceSize

◆ SceSSize

typedef int SceSSize

◆ SceBool

typedef int SceBool

◆ SceFloat

typedef float SceFloat

◆ SceFloat32

typedef float SceFloat32

◆ SceDouble

typedef double SceDouble

◆ SceDouble64

typedef double SceDouble64

◆ SceSByte

typedef signed char SceSByte

◆ SceSByte8

typedef signed char SceSByte8

◆ SceByte

typedef unsigned char SceByte

◆ SceByte8

typedef unsigned char SceByte8

◆ SceWChar16

typedef uint16_t SceWChar16

◆ SceWChar32

typedef uint32_t SceWChar32

◆ SceVoid

typedef void SceVoid

◆ ScePVoid

typedef void* ScePVoid

◆ SceIntPtr

typedef int SceIntPtr

◆ SceUIntPtr

typedef unsigned int SceUIntPtr

◆ SceUIntVAddr

◆ SceMode

typedef int SceMode

Mode for I/O functions.

◆ SceOff

typedef SceInt64 SceOff

Offset type.

◆ SceUID

typedef int SceUID

UIDs are used to describe many different kernel objects.

◆ ScePID

typedef int ScePID

Process ID.

◆ SceNID

typedef unsigned int SceNID

Library/Function NID.

◆ SceName

typedef char* SceName

Names are used to describe object names.

◆ SceKernelSysClock

64-bit system clock type.

◆ SceKernelPaddrList

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SCE_FALSE 
SCE_TRUE 

◆ anonymous enum

anonymous enum
Enumerator
SCE_GUID_SYSROOT 
SCE_GUID_GUID_ENTRY_HEAP 
SCE_GUID_KERNEL_PROCESS_ID 
SCE_GUID_KERNEL_ADDRESS_SPACE 
SCE_GUID_PART_ROOT 
SCE_GUID_KERNEL_HEAP 
SCE_GUID_KERNEL_HEAP_UNCACHE 
SCE_GUID_PHYMEM_PART_KERNEL 
SCE_GUID_PHYMEM_PART_TOOL 
SCE_GUID_DUMMY_PROCESS_GAME 
SCE_GUID_DUMMY_PROCESS_SYSTEM 
SCE_GUID_CLEANER_THREAD 
SCE_GUID_IDLE_THREAD_0 
SCE_GUID_IDLE_THREAD_1 
SCE_GUID_IDLE_THREAD_2 
SCE_GUID_IDLE_THREAD_3 
SCE_GUID_ALL_PROCESS 
SCE_GUID_GLOBAL_WORK_QUEUE 
SCE_GUID_THREAD_ID_SYSTEM_ALL 
SCE_GUID_THREAD_ID_PROCESS_ALL 
SCE_GUID_RESERVED_29 
SCE_GUID_KERNEL_HEAP_TOOL 
SCE_GUID_RESERVED_2D 
SCE_GUID_RESERVED_2F 
SCE_GUID_RESERVED_31 
SCE_GUID_KERNEL_FIXED_HEAP_16B 
SCE_GUID_KERNEL_FIXED_HEAP_32B 
SCE_GUID_KERNEL_FIXED_HEAP_48B 
SCE_GUID_KERNEL_FIXED_HEAP_64B 
SCE_GUID_KERNEL_FIXED_HEAP_128B 
SCE_GUID_KERNEL_FIXED_HEAP_256B 
SCE_GUID_KERNEL_FIXED_HEAP_512B 
SCE_GUID_KERNEL_FIXED_HEAP_L2_OBJECT 
SCE_GUID_PART_USER_SHARED 
SCE_GUID_PART_IO 
SCE_GUID_PART_CDRAM 
SCE_GUID_RESERVED_49 
SCE_GUID_PART_TMP 
SCE_GUID_PART_ROOT_UNCACHE 
SCE_GUID_PART_KMP 
SCE_GUID_PART_ROOT_UNCACHE_GPU_GAME 
SCE_GUID_PART_TMP_FS_GAME 
SCE_GUID_PART_ROOT_TOOL 
SCE_GUID_PART_ROOT_TOOL_UNCACHE 
SCE_GUID_PROCESS_BUDGET_KERNEL 
SCE_GUID_PROCESS_BUDGET_SHELL 
SCE_GUID_PROCESS_BUDGET_FULL_GAME 
SCE_GUID_RESERVED_5F 
types.h
types.h