vitasdk
Documentation of the vitasdk
|
Exports for Kernel.
Include the header file in your project:
Link the library to the executable:
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) |
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) |
struct SceUIDSysrootObject |
struct SceSysrootProcessHandler |
Data Fields | |
SceSize | size |
sizeof(SceSysrootProcessHandler) More... | |
void(* | unk_4 )(SceUID pid, SceUID modid, int flags, uint64_t time) |
process start shared modules More... | |
void(* | exit )(SceUID pid, int flags, uint64_t time) |
void(* | kill )(SceUID pid) |
by SceShell More... | |
void(* | unk_10 )(SceUID pid, SceUID modid, uint64_t time) |
void(* | unk_14 )(SceUID pid, SceUID modid, uint64_t time) |
void(* | unk_18 )(SceUID pid, SceUID modid, uint64_t time) |
int(* | on_process_created )(int a1, int a2, int a3) |
called when process is created More... | |
void(* | unk_20 )(SceUID pid, SceUID modid, uint64_t time) |
void(* | unk_24 )(SceUID pid, SceUID modid, int flags, uint64_t time) |
struct SceSysrootDbgpHandler |
Data Fields | |
SceSize | size |
sizeof(SceSysrootDbgpHandler):0x5C More... | |
void(* | unk_0x04 )(int a1, int a2, int a3, int a4) |
void(* | unk_0x08 )(int a1, int a2, int a3, int a4) |
void(* | unk_0x0C )(int a1) |
void(* | unk_0x10 )(int a1, int a2, int a3, int a4) |
void(* | unk_0x14 )(int a1, int a2, int a3, int a4) |
void(* | unk_0x18 )(SceUID pid, SceUID modid, int flags, uint64_t time) |
void(* | unk_0x1C )(int a1, int a2, int a3) |
void(* | unk_0x20 )(int a1, int a2, int a3) |
void(* | unk_0x24 )(int a1, int a2, int a3) |
void(* | unk_0x28 )(SceUID pid, SceUID modid, uint64_t time) |
void(* | unk_0x2C )(SceUID pid, SceUID modid, uint64_t time) |
int(* | unk_0x30 )(SceUID pid) |
int(* | unk_0x34 )(int a1, int a2, int a3) |
int(* | unk_0x38 )(int a1, int a2, void *a3) |
int(* | unk_0x3C )(int a1, int a2, int a3) |
int(* | unk_0x40 )(SceUID pid, int *some_flag) |
int(* | unk_0x44 )(SceUID pid, SceUID modid, int flags, uint64_t time) |
int(* | unk_0x48 )(int a1, int a2, int a3) |
void(* | unk_0x4C )(void) |
void(* | unk_0x50 )(void) |
int(* | unk_0x54 )(int a1, int a2, int a3, int a4, int a5) |
int(* | unk_0x58 )(int a1, int a2, int a3) |
struct SceUIDSysrootObject.init_callback_slot |
#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) |
typedef struct SceKernelBootArgs SceKernelBootArgs |
typedef struct SceSysrootModulemgrHandlers SceSysrootModulemgrHandlers |
typedef SceUIDSysrootObject SceSysroot |
typedef int(* SceKernelGetSystemSwVersionFunc) (void) |
typedef int(* SceKernelCoredumpTriggerFunc) (SceUID pid, SceKernelCoredumpStateUpdateCallback update_func, SceKernelCoredumpStateFinishCallback finish_func, SceCoredumpTriggerParam *param) |
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.
note - Not should be call this function after boot.
void* ksceKernelSysrootGetKblParam | ( | void | ) |
Get SceKblParam.
int ksceSysrootGetSelfInfo | ( | SceKernelSysrootSelfIndex | index, |
SceKernelSysrootSelfInfo * | info | ||
) |
int ksceSysrootUseExternalStorage | ( | void | ) |
Get UseExternalStorage status.
Returns 1 if an external device(sdcard) is available.
int ksceSysrootUseInternalStorage | ( | void | ) |
Get UseInternalStorage status.
Returns 1 if using an internal device(pre-memcard).
int ksceSysrootIsManufacturingMode | ( | void | ) |
Get ManufacturingMode status.
Returns 1 if the device is in manufacturing mode.
int ksceSysrootIsNonRemovableCardMode | ( | void | ) |
Get NonRemovableCardMode status.
Returns 1 if using an non removable card(pre-memcard).
VITASDK_BUILD_ASSERT_EQ | ( | 0x28 | , |
SceSysrootProcessHandler | |||
) |
int ksceKernelSysrootSetProcessHandler | ( | const SceSysrootProcessHandler * | handlers | ) |
Set handlers for the process lifecycle.
This internal function allows a developer to introspect and receive events based on the process lifecycle.
[in] | handlers | Pointer to struct containing the handlers. This function does not copy the handlers, so this pointer must remain valid after a successful call. |
VITASDK_BUILD_ASSERT_EQ | ( | 0x5C | , |
SceSysrootDbgpHandler | |||
) |
int ksceKernelSysrootRegisterDbgpHandler | ( | const SceSysrootDbgpHandler * | handlers | ) |
Register Dbgp handlers.
[in] | handlers | pointer of handlers |
void ksceKernelSysrootUnregisterDbgpHandler | ( | void | ) |
Unregister Dbgp handlers.
int ksceSysrootGetHardwareFlags | ( | void * | flags | ) |
Get hardware flags.
[out] | flags | - The flags output buffer. size is 0x10 byte |
int ksceSysrootIsBsodReboot | ( | void | ) |
int ksceSysrootIsSafeMode | ( | void | ) |
int ksceSysrootIsUpdateMode | ( | void | ) |
int ksceSysrootIsUsbEnumWakeup | ( | void | ) |
int ksceSysrootIsExternalBootMode | ( | void | ) |
void ksceKernelSysrootSetGetSystemSwVersionFunc | ( | SceKernelGetSystemSwVersionFunc | func | ) |
Set GetSystemSwVersion function.
[in] | func | - The GetSystemSwVersion function pointer. |
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.
[in] | func | - The coredump trigger function pointer. |