summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-06-12 04:46:35 +0200
committerGitHub <noreply@github.com>2016-06-12 04:46:35 +0200
commit78f2b85fe6df35e3501f6dbd81ceea536fcdb8a1 (patch)
tree73078fff8f77a252dcc51ec39e84b5606ad30133 /src/core/hle/kernel/kernel.h
parentMerge pull request #1899 from wwylele/hid-cmath (diff)
parentKernel/SVC: Implemented svcCreatePort. (diff)
downloadyuzu-78f2b85fe6df35e3501f6dbd81ceea536fcdb8a1.tar
yuzu-78f2b85fe6df35e3501f6dbd81ceea536fcdb8a1.tar.gz
yuzu-78f2b85fe6df35e3501f6dbd81ceea536fcdb8a1.tar.bz2
yuzu-78f2b85fe6df35e3501f6dbd81ceea536fcdb8a1.tar.lz
yuzu-78f2b85fe6df35e3501f6dbd81ceea536fcdb8a1.tar.xz
yuzu-78f2b85fe6df35e3501f6dbd81ceea536fcdb8a1.tar.zst
yuzu-78f2b85fe6df35e3501f6dbd81ceea536fcdb8a1.zip
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r--src/core/hle/kernel/kernel.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index 4d4276f7a..27ba3f912 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -35,7 +35,7 @@ enum KernelHandle : Handle {
enum class HandleType : u32 {
Unknown = 0,
- Port = 1,
+
Session = 2,
Event = 3,
Mutex = 4,
@@ -48,6 +48,8 @@ enum class HandleType : u32 {
Timer = 11,
ResourceLimit = 12,
CodeSet = 13,
+ ClientPort = 14,
+ ServerPort = 15,
};
enum {
@@ -72,6 +74,7 @@ public:
bool IsWaitable() const {
switch (GetHandleType()) {
case HandleType::Session:
+ case HandleType::ServerPort:
case HandleType::Event:
case HandleType::Mutex:
case HandleType::Thread:
@@ -80,13 +83,13 @@ public:
return true;
case HandleType::Unknown:
- case HandleType::Port:
case HandleType::SharedMemory:
case HandleType::Redirection:
case HandleType::Process:
case HandleType::AddressArbiter:
case HandleType::ResourceLimit:
case HandleType::CodeSet:
+ case HandleType::ClientPort:
return false;
}
}