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  SceSyscallInfo
 
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)
 
#define ksceKernelIsSomeBootMode   ksceSysrootIsSdCardMode
 

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) (ScePID pid, SceKernelCoredumpStateUpdateCallback update_func, SceKernelCoredumpStateFinishCallback finish_func, SceCoredumpTriggerParam *param)
 
typedef struct SceUIDAddressSpaceObject SceUIDAddressSpaceObject
 Opaque class-specific data for an address-space UID object.
 

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)
 
SceSysroot * ksceSysrootGetSysroot (void)
 Get sysroot object pointer.
 
void ksceKernelSysrootSetSysroot (SceUID sysroot_uid)
 Set sysroot object uid.
 
void * ksceKernelSysrootGetKblParam (void)
 Get SceKblParam.
 
int ksceKernelSysrootGetProcessTitleId (SceUID pid, char *titleid, SceSize len)
 
int ksceSysrootGetSelfInfo (SceKernelSysrootSelfIndex index, SceKernelSysrootSelfInfo *info)
 
int ksceSysrootUseExternalStorage (void)
 Get UseExternalStorage status.
 
int ksceSysrootUseInternalStorage (void)
 Get UseInternalStorage status.
 
int ksceSysrootIsManufacturingMode (void)
 Get ManufacturingMode status.
 
int ksceSysrootIsNonRemovableCardMode (void)
 Get NonRemovableCardMode status.
 
 VITASDK_BUILD_ASSERT_EQ (0x28, SceSysrootProcessHandler)
 
int ksceKernelSysrootSetProcessHandler (const SceSysrootProcessHandler *handlers)
 Set handlers for the process lifecycle.
 
 VITASDK_BUILD_ASSERT_EQ (0x5C, SceSysrootDbgpHandler)
 
int ksceKernelSysrootRegisterDbgpHandler (const SceSysrootDbgpHandler *handlers)
 Register Dbgp handlers.
 
void ksceKernelSysrootUnregisterDbgpHandler (void)
 Unregister Dbgp handlers.
 
int ksceSysrootGetHardwareFlags (void *flags)
 Get hardware flags.
 
int ksceSysrootIsBsodReboot (void)
 
int ksceSysrootIsSafeMode (void)
 
int ksceSysrootIsUpdateMode (void)
 
int ksceSysrootIsUsbEnumWakeup (void)
 
int ksceSysrootIsExternalBootMode (void)
 
void ksceKernelSysrootSetGetSystemSwVersionFunc (SceKernelGetSystemSwVersionFunc func)
 Set GetSystemSwVersion function.
 
int ksceKernelSysrootGetSystemSwVersion (void)
 Get System software version from ksceKernelSysrootSetGetSystemSwVersionFunc setting function.
 
SceUID ksceKernelSysrootGetShellPid (void)
 Get SceShell process id.
 
void ksceKernelSysrootRegisterCoredumpTrigger (SceKernelCoredumpTriggerFunc func)
 Register coredump trigger function.
 
 VITASDK_BUILD_ASSERT_EQ (0x3C, SceSyscallInfo)
 
void * ksceKernelAllocHeapMemory2 (ScePID pid, SceSize size, SceKernelHeapMemoryOpt *opt)
 Allocate memory from a process heap.
 
void ksceKernelInvokeInitCallback (int index)
 Call all pending initialization callbacks up to and including a target slot.
 
int ksceKernelIsColdBoot (void)
 Test whether the current boot is a cold boot.
 
int ksceSysrootIsSdCardMode (void)
 Test whether the boot parameters request SD card mode.
 
int ksceKernelSysrootCheckModelCapability (int capability_index)
 Test a hardware-model capability bit.
 
int ksceKernelSysrootCoredumpTrigger (ScePID pid, SceKernelCoredumpStateUpdateCallback update_callback, SceKernelCoredumpStateFinishCallback finish_callback, const SceCoredumpTriggerParam *param)
 Trigger a coredump through the registered coredump callback.
 
SceUIDAddressSpaceObject * ksceKernelSysrootGetCurrentAddressSpaceCB (void)
 Get the current address-space UID object's class-specific data.
 
void * ksceKernelSysrootGetModulePrivate (int index)
 Get a module-private area from the sysroot object.
 
int ksceKernelSysrootGetPUIDEntryHeap (ScePID pid, void **entry_heap)
 Get a process's internal PUID-entry heap.
 
SceUInt32 ksceKernelSysrootGetStatus (void)
 
int ksceKernelSysrootGetThreadAccessLevel (void)
 Get the calling thread's access level.
 
void * ksceKernelSysrootGetVbaseResetVector (void)
 
SceUInt32 ksceSysrootGetFactorySystemSwVersion (void)
 
SceUInt32 ksceSysrootGetHardwareInfo (void)
 Get the hardware-information bitfield.
 
int ksceSysrootGetModuleInfoForPid (ScePID pid, const void *pc, SceSyscallInfo *info)
 Get information about the imported function stub containing pc.
 
int ksceSysrootGetNidName (SceNID function_nid, const char **name)
 Get a read-only symbolic name for a function NID when one is registered.
 
int ksceSysrootGetSelfAuthInfo (ScePID pid, SceSelfAuthInfo *self_auth_info)
 Get the 0x90-byte SELF authorization information for a process.
 
void * ksceSysrootGetSessionId (void *session_id)
 Get the 16-byte system session identifier.
 
SceUInt32 ksceSysrootGetWakeupFactor (void)
 
int ksceSysrootRegisterLicMgrGetLicenseStatus (int(*sce_sbl_lic_mgr_get_license_status_for_driver)(void))