diff options
author | Princess of Sleeping | 2020-10-30 22:11:40 +0900 |
---|---|---|
committer | Reiko Asakura | 2020-10-30 22:11:40 +0900 |
commit | aab77d28bb20fede004b4d11574fa6e85cd28b6d (patch) | |
tree | c9eebb9e5f6f661ecfb4befea771ca1cb22efec8 | |
parent | Add NIDs in SceDisplayForDriver (diff) | |
download | vds-libraries-aab77d28bb20fede004b4d11574fa6e85cd28b6d.tar.gz |
Add functions in SceSblSsUpdateMgr
-rw-r--r-- | include/user/sblupdatemgr.h | 42 | ||||
-rw-r--r-- | nids/360/SceSblUpdateMgr.yml | 16 |
2 files changed, 58 insertions, 0 deletions
diff --git a/include/user/sblupdatemgr.h b/include/user/sblupdatemgr.h new file mode 100644 index 0000000..d936565 --- /dev/null +++ b/include/user/sblupdatemgr.h @@ -0,0 +1,42 @@ +/* + Vita Development Suite Libraries +*/ + +#ifndef _VDSUITE_USER_SBLUPDATEMGR_H +#define _VDSUITE_USER_SBLUPDATEMGR_H + +typedef char SceUpdateMode; + +#define SCE_UPDATE_MODE_SWU_GUI 0x10 +#define SCE_UPDATE_MODE_SWU_CUI 0x30 + +/** + * Getting system update mode on boot + * + * @param[out] mode - The pointer of SceUpdateMode variable + * + * @return 0 on success, < 0 on error. + */ +int sceSblUsGetUpdateModeForUser(SceUpdateMode *mode); + +/** + * Setting system update mode on boot + * + * @param[in] mode - The update mode + * + * @return 0 on success, < 0 on error. + */ +int sceSblUsSetUpdateModeForUser(SceUpdateMode mode); + +/** + * Verify PUP + * + * @param[in] path - The PUP path + * + * @return 0 on success, < 0 on error. + * + * note - If verify CEX PUP on Devkit system, got error. + */ +int sceSblUsVerifyPupForUser(const char *path); + +#endif /* _VDSUITE_USER_SBLUPDATEMGR_H */ diff --git a/nids/360/SceSblUpdateMgr.yml b/nids/360/SceSblUpdateMgr.yml index 4b860c9..eeb5acb 100644 --- a/nids/360/SceSblUpdateMgr.yml +++ b/nids/360/SceSblUpdateMgr.yml @@ -5,12 +5,28 @@ modules: SceSblSsUpdateMgr: nid: 0x31406C49 functions: + sceSblUsAllocateBufferForUser: 0x4C06F41C + sceSblUsCheckSystemIntegrityForUser: 0xBED8DFC7 + sceSblUsExtractSpackageForUser: 0xC1792A1C + sceSblUsGetApplicableVersionForUser: 0x3ADD4B7A + sceSblUsGetExtractSpackageForUser: 0x4897AD56 sceSblUsGetSpkgInfoForUser: 0x8E3EC2E1 + sceSblUsGetStatusForUser: 0xF403143E sceSblUsGetUpdateModeForUser: 0x8E834565 + sceSblUsInformUpdateFinishedForUser: 0x2A02DCFB + sceSblUsInformUpdateOngoingForUser: 0xD0CB50AC + sceSblUsInformUpdateStartedForUser: 0x9FC8E905 + sceSblUsInspectSpackageForUser: 0x1A39F6EE sceSblUsPowerControlForUser: 0x1825D954 + sceSblUsReleaseBufferForUser: 0xBD677F5A + sceSblUsSetSwInfoBinForUser: 0x92A8002B + sceSblUsSetSwInfoIntForUser: 0x157AD4AD + sceSblUsSetSwInfoStrForUser: 0xFE930747 sceSblUsSetUpdateModeForUser: 0xC725E3F0 + sceSblUsUpdateSpackageForUser: 0x6E8DDAC4 sceSblUsVerifyPupAdditionalSignForUser: 0xB19366CB sceSblUsVerifyPupForUser: 0x6F5EDBF4 sceSblUsVerifyPupHeaderForUser: 0x9BE17A06 + sceSblUsVerifyPupSegmentByIdForUser: 0x95FC1A0A sceSblUsVerifyPupSegmentForUser: 0xD47FD33E sceSblUsVerifyPupWatermarkForUser: 0xC6CDEB8D |