diff options
author | Reiko Asakura | 2020-07-24 19:22:28 -0400 |
---|---|---|
committer | Reiko Asakura | 2020-07-24 19:22:28 -0400 |
commit | d18ab7b9fc6f59c2319bcdce00bede7e84acdf75 (patch) | |
tree | 64bea01fffe15976d94cfbff0b0040a6e606c330 /include/user/vshbridge.h | |
parent | Add functions in SceAVConfig (diff) | |
parent | Revert vitasdk commits (diff) | |
download | vds-libraries-d18ab7b9fc6f59c2319bcdce00bede7e84acdf75.tar.gz |
Merge Vitasdk
Diffstat (limited to 'include/user/vshbridge.h')
-rw-r--r-- | include/user/vshbridge.h | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/include/user/vshbridge.h b/include/user/vshbridge.h index a525c04..e2771f3 100644 --- a/include/user/vshbridge.h +++ b/include/user/vshbridge.h @@ -8,7 +8,19 @@ extern "C" { #endif -int _vshSblGetSystemSwVersion(SceKernelFwInfo * data); +/** + * Gets real system firmware information. + * + * @param[out] data - firmware information. + */ +int _vshSblGetSystemSwVersion(SceKernelFwInfo *data); + +/** + * Gets factory (minimum) firmware version. + * + * @param[out] minver - factory firmware version. + */ +int _vshSblAimgrGetSMI(int *minver); int _vshSblAimgrGetConsoleId(char CID[32]); @@ -20,7 +32,7 @@ int _vshSblAimgrGetConsoleId(char CID[32]); * * @return 0 >= on success, < 0 on error. */ -int _vshIoMount(int id, const char *path, int permission, void* buf); +int _vshIoMount(int id, const char *path, int permission, void *buf); /** * @param[in] id - mount id @@ -42,7 +54,7 @@ int vshIdStorageIsReadOnly(void); * * @return 0 on success, < 0 on error. */ -int vshIdStorageReadLeaf(int leafnum, void *buf); +int vshIdStorageReadLeaf(SceSize leafnum, void *buf); /** * @param[in] leafnum - 0x0 ~ 0x80 / leafnum > 0x80 = error @@ -50,7 +62,7 @@ int vshIdStorageReadLeaf(int leafnum, void *buf); * * @return 0 on success, < 0 on error. */ -int vshIdStorageWriteLeaf(int leafnum, const void *buf); +int vshIdStorageWriteLeaf(SceSize leafnum, const void *buf); int vshSblAimgrIsCEX(void); int vshSblAimgrIsDEX(void); |