summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2016-05-22 18:22:49 +0200
committerSubv <subv2112@gmail.com>2016-06-05 16:35:31 +0200
commit3d9fbffbabbe2125ae6208d2d0049552e9293e49 (patch)
tree3a3d81d602b210bbf38323dd4898ff5225bf8754 /src/core/hle/kernel/kernel.h
parentMerge pull request #1863 from mailwl/gpu-threadid-reset (diff)
downloadyuzu-3d9fbffbabbe2125ae6208d2d0049552e9293e49.tar
yuzu-3d9fbffbabbe2125ae6208d2d0049552e9293e49.tar.gz
yuzu-3d9fbffbabbe2125ae6208d2d0049552e9293e49.tar.bz2
yuzu-3d9fbffbabbe2125ae6208d2d0049552e9293e49.tar.lz
yuzu-3d9fbffbabbe2125ae6208d2d0049552e9293e49.tar.xz
yuzu-3d9fbffbabbe2125ae6208d2d0049552e9293e49.tar.zst
yuzu-3d9fbffbabbe2125ae6208d2d0049552e9293e49.zip
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r--src/core/hle/kernel/kernel.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index 4d4276f7a..a53d408d4 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,
+ ServerPort = 1,
Session = 2,
Event = 3,
Mutex = 4,
@@ -48,6 +48,7 @@ enum class HandleType : u32 {
Timer = 11,
ResourceLimit = 12,
CodeSet = 13,
+ ClientPort = 14,
};
enum {
@@ -72,6 +73,7 @@ public:
bool IsWaitable() const {
switch (GetHandleType()) {
case HandleType::Session:
+ case HandleType::ServerPort:
case HandleType::Event:
case HandleType::Mutex:
case HandleType::Thread:
@@ -80,13 +82,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;
}
}