summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r--src/core/hle/kernel/kernel.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index 85e3264b9..7e0f15c84 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -22,7 +22,7 @@ enum KernelHandle {
22enum class HandleType : u32 { 22enum class HandleType : u32 {
23 Unknown = 0, 23 Unknown = 0,
24 Port = 1, 24 Port = 1,
25 Service = 2, 25 Session = 2,
26 Event = 3, 26 Event = 3,
27 Mutex = 4, 27 Mutex = 4,
28 SharedMemory = 5, 28 SharedMemory = 5,
@@ -30,10 +30,7 @@ enum class HandleType : u32 {
30 Thread = 7, 30 Thread = 7,
31 Process = 8, 31 Process = 8,
32 AddressArbiter = 9, 32 AddressArbiter = 9,
33 File = 10, 33 Semaphore = 10,
34 Semaphore = 11,
35 Archive = 12,
36 Directory = 13,
37}; 34};
38 35
39enum { 36enum {
@@ -53,15 +50,6 @@ public:
53 virtual Kernel::HandleType GetHandleType() const = 0; 50 virtual Kernel::HandleType GetHandleType() const = 0;
54 51
55 /** 52 /**
56 * Synchronize kernel object.
57 * @return True if the current thread should wait as a result of the sync
58 */
59 virtual ResultVal<bool> SyncRequest() {
60 LOG_ERROR(Kernel, "(UNIMPLEMENTED)");
61 return UnimplementedFunction(ErrorModule::Kernel);
62 }
63
64 /**
65 * Wait for kernel object to synchronize. 53 * Wait for kernel object to synchronize.
66 * @return True if the current thread should wait as a result of the wait 54 * @return True if the current thread should wait as a result of the wait
67 */ 55 */