summaryrefslogtreecommitdiff
path: root/include/user
diff options
context:
space:
mode:
Diffstat (limited to 'include/user')
-rw-r--r--include/user/compat.h7
-rw-r--r--include/user/kernel/threadmgr.h4
2 files changed, 8 insertions, 3 deletions
diff --git a/include/user/compat.h b/include/user/compat.h
index a7e2283..9a4786e 100644
--- a/include/user/compat.h
+++ b/include/user/compat.h
@@ -11,8 +11,9 @@ extern "C" {
#endif
typedef enum SceCompatCacheMode {
- SCE_COMPAT_CACHE_NONE = 1,
- SCE_COMPAT_CACHE_INVALIDATE = 2
+ SCE_COMPAT_CACHE_NONE = 0,
+ SCE_COMPAT_CACHE_INVALIDATE = 1,
+ SCE_COMPAT_CACHE_WRITEBACK = 2
} SceCompatCacheMode;
typedef enum SceCompatPeripheralMode {
@@ -105,7 +106,7 @@ int sceCompatSetSuspendSema(SceUID semaid1, SceUID semaid2);
int sceCompatSuspendResume(int unk);
/**
- * Cache invalidate
+ * Cache operation
*
* @param[in] mode - One of ::SceCompatCacheMode
* @param[in] addr - Address
diff --git a/include/user/kernel/threadmgr.h b/include/user/kernel/threadmgr.h
index 7e9b2f5..c5d93b7 100644
--- a/include/user/kernel/threadmgr.h
+++ b/include/user/kernel/threadmgr.h
@@ -96,6 +96,10 @@ typedef enum SceThreadStatus {
SCE_THREAD_KILLED = 32, /* Thread manager has killed the thread (stack overflow) */
} SceThreadStatus;
+typedef enum SceKernelMutexAttribute {
+ SCE_KERNEL_MUTEX_ATTR_RECURSIVE = 0x02
+} SceKernelMutexAttribute;
+
/**
* Create a thread
*