Exports for Kernel.
Using this library in your project
Include the header file in your project:
Using this library in your project
Include the header file in your project:
Link the library to the executable:
SceProcessmgrForKernel_stub
|
| VITASDK_BUILD_ASSERT_EQ (8, SceKernelTimeval) |
|
| VITASDK_BUILD_ASSERT_EQ (8, SceKernelTimezone) |
|
| VITASDK_BUILD_ASSERT_EQ (4, SceKernelProcessPrioritySystem) |
|
| VITASDK_BUILD_ASSERT_EQ (4, SceKernelProcessPriorityUser) |
|
| VITASDK_BUILD_ASSERT_EQ (4, SceKernelPowerTickType) |
|
| VITASDK_BUILD_ASSERT_EQ (0xE8, SceKernelProcessInfo) |
|
void * | ksceKernelGetProcessKernelBuf (SceUID pid) |
|
int | ksceKernelGetProcessInfo (SceUID pid, SceKernelProcessInfo *info) |
|
int | ksceKernelCreateProcessLocalStorage (const char *name, SceSize size) |
|
void * | ksceKernelGetProcessLocalStorageAddr (int key) |
|
int | ksceKernelGetProcessLocalStorageAddrForPid (SceUID pid, int key, void **out_addr, int create_if_doesnt_exist) |
|
| VITASDK_BUILD_ASSERT_EQ (4, SceKernelProcessType) |
|
SceUID | ksceKernelCreateProcess (const char *titleid, SceKernelProcessType type, const char *path, void *opt) |
| Create process. More...
|
|
int | ksceKernelResumeProcess (SceUID pid) |
| Resume a suspended process. More...
|
|
int | ksceKernelSuspendProcess (SceUID pid, int status) |
| Suspend a running process. More...
|
|
int | ksceKernelGetProcessStatus (SceUID pid, int *status) |
| Get the status of a given process. More...
|
|
SceUID | ksceKernelGetProcessMainThread (SceUID pid) |
| Get the main thread for a given process. More...
|
|
ScePVoid | ksceKernelGetProcessModuleInfo (SceUID pid) |
| Get the process module control block. More...
|
|
int | ksceKernelGetProcessSelfAuthInfo (SceUID pid, SceSelfAuthInfo *self_auth_info) |
| Get the process self auth info. More...
|
|
int | ksceKernelLibcGettimeofday (SceKernelTimeval *tv, SceKernelTimezone *tz) |
|
SceKernelTime | ksceKernelLibcTime (SceKernelTime *tloc) |
|
int | ksceKernelExitProcess (int status) |
|
SceClass * | ksceKernelGetUIDProcessClass (void) |
|
◆ SceKernelTimeval
◆ SceKernelTimezone
◆ SceKernelProcessInfo
struct SceKernelProcessInfo |
Data Fields |
SceSize |
size |
size of this struct, make sure it's 0xE8 |
SceUID |
pid |
our process ID |
int |
unk1 |
|
int |
unk2 |
|
int |
unk3 |
|
SceUID |
ppid |
parent process ID |
int |
unk[0xE8/4 - 6] |
the rest is unknown |
◆ SceKernelProcessType [1/2]
◆ SceKernelClock
◆ SceKernelTime
◆ SceKernelProcessType [2/2]
◆ SceKernelProcessPrioritySystem
Enumerator |
---|
SCE_KERNEL_PROCESS_PRIORITY_SYSTEM_HIGH | |
SCE_KERNEL_PROCESS_PRIORITY_SYSTEM_DEFAULT | |
SCE_KERNEL_PROCESS_PRIORITY_SYSTEM_LOW | |
__SCE_KERNEL_PROCESS_PRIORITY_SYSTEM | |
◆ SceKernelProcessPriorityUser
Enumerator |
---|
SCE_KERNEL_PROCESS_PRIORITY_USER_HIGH | |
SCE_KERNEL_PROCESS_PRIORITY_USER_DEFAULT | |
SCE_KERNEL_PROCESS_PRIORITY_USER_LOW | |
__SCE_KERNEL_PROCESS_PRIORITY_USER | |
◆ SceKernelPowerTickType
Enumerator |
---|
SCE_KERNEL_POWER_TICK_DEFAULT | Cancel all timers.
|
SCE_KERNEL_POWER_TICK_DISABLE_AUTO_SUSPEND | Cancel automatic suspension timer.
|
SCE_KERNEL_POWER_TICK_DISABLE_OLED_OFF | Cancel OLED-off timer.
|
SCE_KERNEL_POWER_TICK_DISABLE_OLED_DIMMING | Cancel OLED dimming timer.
|
__SCE_KERNEL_POWER_TICK_DISABLE | |
◆ VITASDK_BUILD_ASSERT_EQ() [1/7]
◆ VITASDK_BUILD_ASSERT_EQ() [2/7]
◆ VITASDK_BUILD_ASSERT_EQ() [3/7]
◆ VITASDK_BUILD_ASSERT_EQ() [4/7]
◆ VITASDK_BUILD_ASSERT_EQ() [5/7]
◆ VITASDK_BUILD_ASSERT_EQ() [6/7]
◆ ksceKernelGetProcessKernelBuf()
void* ksceKernelGetProcessKernelBuf |
( |
SceUID |
pid | ) |
|
◆ ksceKernelGetProcessInfo()
◆ ksceKernelCreateProcessLocalStorage()
int ksceKernelCreateProcessLocalStorage |
( |
const char * |
name, |
|
|
SceSize |
size |
|
) |
| |
◆ ksceKernelGetProcessLocalStorageAddr()
void* ksceKernelGetProcessLocalStorageAddr |
( |
int |
key | ) |
|
◆ ksceKernelGetProcessLocalStorageAddrForPid()
int ksceKernelGetProcessLocalStorageAddrForPid |
( |
SceUID |
pid, |
|
|
int |
key, |
|
|
void ** |
out_addr, |
|
|
int |
create_if_doesnt_exist |
|
) |
| |
◆ VITASDK_BUILD_ASSERT_EQ() [7/7]
◆ ksceKernelCreateProcess()
Create process.
- Parameters
-
[in] | titleid | - The TitleId of the app to open. |
[in] | type | - The process type. |
[in] | path | - Path of the process image. |
[in] | opt | - The create process option. |
- Returns
- PID of the created process on success, < 0 on error.
◆ ksceKernelResumeProcess()
int ksceKernelResumeProcess |
( |
SceUID |
pid | ) |
|
Resume a suspended process.
- Parameters
-
[in] | pid | The process to resume. |
- Returns
- Zero on success, < 0 on error.
◆ ksceKernelSuspendProcess()
int ksceKernelSuspendProcess |
( |
SceUID |
pid, |
|
|
int |
status |
|
) |
| |
Suspend a running process.
- Parameters
-
[in] | pid | The process to suspend. |
[in] | status | The new status for the process. |
- Returns
- Zero on success, < 0 on error.
◆ ksceKernelGetProcessStatus()
int ksceKernelGetProcessStatus |
( |
SceUID |
pid, |
|
|
int * |
status |
|
) |
| |
Get the status of a given process.
- Parameters
-
[in] | pid | The process ID to query. |
[out] | status | The bit field status of the process. |
- Returns
- Zero on success, < 0 on error.
◆ ksceKernelGetProcessMainThread()
Get the main thread for a given process.
- Parameters
-
[in] | pid | The process id to query for. |
- Returns
- The thread UID on success, else < 0 on error.
◆ ksceKernelGetProcessModuleInfo()
Get the process module control block.
- Parameters
-
[in] | - | The target process id. |
- Returns
- The process module cb pointer
◆ ksceKernelGetProcessSelfAuthInfo()
Get the process self auth info.
- Parameters
-
[in] | pid | - The target process id. |
[out] | self_auth_info | - The output buffer pointer of self auth info. |
- Returns
- Zero on success, < 0 on error.
◆ ksceKernelLibcGettimeofday()
◆ ksceKernelLibcTime()
◆ ksceKernelExitProcess()
int ksceKernelExitProcess |
( |
int |
status | ) |
|
◆ ksceKernelGetUIDProcessClass()
SceClass* ksceKernelGetUIDProcessClass |
( |
void |
| ) |
|