summaryrefslogtreecommitdiff
path: root/include/user/vshbridge.h
diff options
context:
space:
mode:
authorReiko Asakura2020-07-24 19:22:28 -0400
committerReiko Asakura2020-07-24 19:22:28 -0400
commitd18ab7b9fc6f59c2319bcdce00bede7e84acdf75 (patch)
tree64bea01fffe15976d94cfbff0b0040a6e606c330 /include/user/vshbridge.h
parentAdd functions in SceAVConfig (diff)
parentRevert vitasdk commits (diff)
downloadvds-libraries-d18ab7b9fc6f59c2319bcdce00bede7e84acdf75.tar.gz
Merge Vitasdk
Diffstat (limited to 'include/user/vshbridge.h')
-rw-r--r--include/user/vshbridge.h20
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);