summaryrefslogtreecommitdiff
path: root/include/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'include/kernel')
-rw-r--r--include/kernel/idstorage.h14
-rw-r--r--include/kernel/kernel/sysmem.h2
2 files changed, 11 insertions, 5 deletions
diff --git a/include/kernel/idstorage.h b/include/kernel/idstorage.h
index 3f65799..a28e310 100644
--- a/include/kernel/idstorage.h
+++ b/include/kernel/idstorage.h
@@ -8,14 +8,20 @@ extern "C" {
#endif
/**
+ * @param[in] leafnum - 0x0 ~ 0x80 / leafnum > 0x80 = error
+ * @param[out] buf - Leaf data, size is 512 byte
+ *
+ * @return 0 on success, < 0 on error.
+ */
+int sceIdStorageReadLeaf(int leafnum, void *buf);
+
+/**
* @param[in] leafnum - 0x0 ~ 0x80 / leafnum > 0x80 = error
- * @param[out] buf - Leaf data
- * @param[in] buf_size - set 0x200 / buf_size != 0x200 = 0x800F090D
+ * @param[in] buf - Leaf data, size is 512 byte
*
* @return 0 on success, < 0 on error.
*/
-int sceIdStorageReadLeaf(int leafnum, void *buf, int buf_size);
-int sceIdStorageWriteLeaf(int leafnum, const void *buf, int buf_size);
+int sceIdStorageWriteLeaf(int leafnum, const void *buf);
#ifdef __cplusplus
}
diff --git a/include/kernel/kernel/sysmem.h b/include/kernel/kernel/sysmem.h
index 1f03ede..978db42 100644
--- a/include/kernel/kernel/sysmem.h
+++ b/include/kernel/kernel/sysmem.h
@@ -277,7 +277,7 @@ SceClass *sceKernelGetUidMemBlockClass(void);
int sceKernelCreateClass(SceClass *cls, const char *name, void *uidclass, size_t itemsize, SceClassCallback create, SceClassCallback destroy);
int sceKernelDeleteUserUid(SceUID pid, SceUID user_uid);
int sceKernelDeleteUid(SceUID uid);
-int sceKernelFindClassByName(const char name, SceClass **cls);
+int sceKernelFindClassByName(const char *name, SceClass **cls);
int sceKernelSwitchVmaForPid(SceUID pid);