diff options
author | bunnei <bunneidev@gmail.com> | 2016-06-12 04:46:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-12 04:46:35 +0200 |
commit | 78f2b85fe6df35e3501f6dbd81ceea536fcdb8a1 (patch) | |
tree | 73078fff8f77a252dcc51ec39e84b5606ad30133 /src/core/hle/kernel/kernel.h | |
parent | Merge pull request #1899 from wwylele/hid-cmath (diff) | |
parent | Kernel/SVC: Implemented svcCreatePort. (diff) | |
download | yuzu-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.h | 7 |
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; } } |