summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
authorGravatar bunnei2018-01-24 23:09:03 -0500
committerGravatar GitHub2018-01-24 23:09:03 -0500
commit748c0de539674dc8ca4a5a8aadd2a61b0eabe652 (patch)
treeae56efe8654d3aa3a5e75ec04bd9dfdcc06023a9 /src/core/hle/kernel/kernel.h
parentaudout:u OpenAudioOut and IAudioOut (#138) (diff)
parentaudout_u: Various cleanups. (diff)
downloadyuzu-748c0de539674dc8ca4a5a8aadd2a61b0eabe652.tar.gz
yuzu-748c0de539674dc8ca4a5a8aadd2a61b0eabe652.tar.xz
yuzu-748c0de539674dc8ca4a5a8aadd2a61b0eabe652.zip
Merge pull request #137 from bunnei/improve-ipc
Improve IPC, unify Domains and Sessions, and add validation
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r--src/core/hle/kernel/kernel.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index 4d9549e45..c77e58f3c 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -31,7 +31,6 @@ enum class HandleType : u32 {
31 ServerPort, 31 ServerPort,
32 ClientSession, 32 ClientSession,
33 ServerSession, 33 ServerSession,
34 Domain,
35}; 34};
36 35
37enum { 36enum {
@@ -84,27 +83,12 @@ public:
84 case HandleType::CodeSet: 83 case HandleType::CodeSet:
85 case HandleType::ClientPort: 84 case HandleType::ClientPort:
86 case HandleType::ClientSession: 85 case HandleType::ClientSession:
87 case HandleType::Domain:
88 return false; 86 return false;
89 } 87 }
90 88
91 UNREACHABLE(); 89 UNREACHABLE();
92 } 90 }
93 91
94 /**
95 * Check if svcSendSyncRequest can be called on the object
96 * @return True svcSendSyncRequest can be called on the object, otherwise false
97 */
98 bool IsSyncable() const {
99 switch (GetHandleType()) {
100 case HandleType::ClientSession:
101 case HandleType::Domain:
102 return true;
103 }
104
105 UNREACHABLE();
106 }
107
108public: 92public:
109 static unsigned int next_object_id; 93 static unsigned int next_object_id;
110 94