vitasdk
Documentation of the vitasdk
sysroot.h File Reference

Go to the source code of this file.

Data Structures

struct  SceUIDSysrootObject
 
struct  SceKernelSysrootSelfInfo
 
struct  SceSysrootProcessHandler
 
struct  SceSysrootDbgpHandler
 
struct  SceUIDSysrootObject.init_callback_slot
 

Macros

#define SCE_SYSROOT_INIT_CALLBACK_MAX_FUNC   (9)
 
#define SCE_SYSROOT_INIT_CALLBACK_MAX_SLOT   (8)
 
#define ksceKernelGetSysrootBuffer()   ksceKernelSysrootGetKblParam()
 
#define ksceKernelGetProcessTitleId(pid, titleid, len)   ksceKernelSysrootGetProcessTitleId(pid, titleid, len)
 

Typedefs

typedef struct SceKernelBootArgs SceKernelBootArgs
 
typedef struct SceSysrootModulemgrHandlers SceSysrootModulemgrHandlers
 
typedef struct SceSysrootForKernel_D29BCA77_struct SceSysrootForKernel_D29BCA77_struct
 
typedef struct SceSysrootForDriver_733C243E_struct SceSysrootForDriver_733C243E_struct
 
typedef SceUIDSysrootObject SceSysroot
 
typedef int(* SceKernelGetSystemSwVersionFunc) (void)
 
typedef int(* SceKernelCoredumpTriggerFunc) (SceUID pid, SceKernelCoredumpStateUpdateCallback update_func, SceKernelCoredumpStateFinishCallback finish_func, SceCoredumpTriggerParam *param)
 

Enumerations

enum  SceKernelSysrootSelfIndex { SCE_KERNEL_SYSROOT_SELF_INDEX_GCAUTHMGR_SM = 0 , SCE_KERNEL_SYSROOT_SELF_INDEX_RMAUTH_SM = 1 , SCE_KERNEL_SYSROOT_SELF_INDEX_ENCDEC_W_PORTABILITY_SM = 2 }
 

Functions

 VITASDK_BUILD_ASSERT_EQ (0x41C, SceUIDSysrootObject)
 
 VITASDK_BUILD_ASSERT_EQ (0xC, SceKernelSysrootSelfInfo)
 
SceSysrootksceSysrootGetSysroot (void)
 Get sysroot object pointer. More...
 
void ksceKernelSysrootSetSysroot (SceUID sysroot_uid)
 Set sysroot object uid. More...
 
void * ksceKernelSysrootGetKblParam (void)
 Get SceKblParam. More...
 
int ksceKernelSysrootGetProcessTitleId (SceUID pid, char *titleid, SceSize len)
 
int ksceSysrootGetSelfInfo (SceKernelSysrootSelfIndex index, SceKernelSysrootSelfInfo *info)
 
int ksceSysrootUseExternalStorage (void)
 Get UseExternalStorage status. More...
 
int ksceSysrootUseInternalStorage (void)
 Get UseInternalStorage status. More...
 
int ksceSysrootIsManufacturingMode (void)
 Get ManufacturingMode status. More...
 
int ksceSysrootIsNonRemovableCardMode (void)
 Get NonRemovableCardMode status. More...
 
 VITASDK_BUILD_ASSERT_EQ (0x28, SceSysrootProcessHandler)
 
int ksceKernelSysrootSetProcessHandler (const SceSysrootProcessHandler *handlers)
 Set handlers for the process lifecycle. More...
 
 VITASDK_BUILD_ASSERT_EQ (0x5C, SceSysrootDbgpHandler)
 
int ksceKernelSysrootRegisterDbgpHandler (const SceSysrootDbgpHandler *handlers)
 Register Dbgp handlers. More...
 
void ksceKernelSysrootUnregisterDbgpHandler (void)
 Unregister Dbgp handlers. More...
 
int ksceSysrootGetHardwareFlags (void *flags)
 Get hardware flags. More...
 
int ksceSysrootIsBsodReboot (void)
 
int ksceSysrootIsSafeMode (void)
 
int ksceSysrootIsUpdateMode (void)
 
int ksceSysrootIsUsbEnumWakeup (void)
 
int ksceSysrootIsExternalBootMode (void)
 
void ksceKernelSysrootSetGetSystemSwVersionFunc (SceKernelGetSystemSwVersionFunc func)
 Set GetSystemSwVersion function. More...
 
int ksceKernelSysrootGetSystemSwVersion (void)
 Get System software version from ksceKernelSysrootSetGetSystemSwVersionFunc setting function. More...
 
SceUID ksceKernelSysrootGetShellPid (void)
 Get SceShell process id. More...
 
void ksceKernelSysrootRegisterCoredumpTrigger (SceKernelCoredumpTriggerFunc func)
 Register coredump trigger function. More...