diff options
Diffstat (limited to '')
-rw-r--r-- | include/kernel/appmgr.h | 21 | ||||
-rw-r--r-- | nids/360/SceAppMgr.yml | 1 |
2 files changed, 22 insertions, 0 deletions
diff --git a/include/kernel/appmgr.h b/include/kernel/appmgr.h new file mode 100644 index 0000000..4336ca5 --- /dev/null +++ b/include/kernel/appmgr.h @@ -0,0 +1,21 @@ +#ifndef _PSP2_KERNEL_APPMGR_H_ +#define _PSP2_KERNEL_APPMGR_H_ + +#include <psp2kern/types.h> + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * @brief Kill a process. + * @param[in] pid The process to kill. + * @return Zero on success, else < 0. + */ +int sceAppMgrKillProcess(SceUID pid); + +#ifdef __cplusplus +} +#endif + +#endif /* _PSP2_KERNEL_APPMGR_H_ */ diff --git a/nids/360/SceAppMgr.yml b/nids/360/SceAppMgr.yml index 9b1182e..78bc3dd 100644 --- a/nids/360/SceAppMgr.yml +++ b/nids/360/SceAppMgr.yml @@ -217,6 +217,7 @@ modules: sceAppMgrGetPfsProcessStatus: 0xE72D2A4A sceAppMgrGetSystemDataFile: 0xAEC49533 sceAppMgrIsExclusiveProcessRunning: 0xA888C2DC + sceAppMgrKillProcess: 0xD80566DB sceAppMgrLaunchAppByPath: 0xB0A37065 sceAppMgrLoadSafeMemory: 0xFAF3DAAA sceAppMgrLocalBackupGetOfflineId: 0x61B13981 |