summaryrefslogtreecommitdiff
path: root/src/core/hle/ipc.h
diff options
context:
space:
mode:
authorGravatar Lioncash2018-10-24 14:55:55 -0400
committerGravatar Lioncash2018-10-24 14:58:37 -0400
commit1fb4bebb63e2824c71259bc72b809d6c2bf48ca9 (patch)
tree4800663d5a6ed8fe989834c95bcd04e15d2e0708 /src/core/hle/ipc.h
parentkernel/shared_memory: Return ERR_INVALID_MEMORY_PERMISSIONS instead of ERR_IN... (diff)
downloadyuzu-1fb4bebb63e2824c71259bc72b809d6c2bf48ca9.tar.gz
yuzu-1fb4bebb63e2824c71259bc72b809d6c2bf48ca9.tar.xz
yuzu-1fb4bebb63e2824c71259bc72b809d6c2bf48ca9.zip
kernel/errors: Remove now-unused, unnecessary, error codes
Now that we've gotten the innaccurate error codes out of the way, we can finally toss away a bunch of these, trimming down the error codes to ones that are actually used and knocking out two TODO comments.
Diffstat (limited to 'src/core/hle/ipc.h')
-rw-r--r--src/core/hle/ipc.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/hle/ipc.h b/src/core/hle/ipc.h
index 419f45896..ed84197b3 100644
--- a/src/core/hle/ipc.h
+++ b/src/core/hle/ipc.h
@@ -14,11 +14,6 @@ namespace IPC {
14/// Size of the command buffer area, in 32-bit words. 14/// Size of the command buffer area, in 32-bit words.
15constexpr std::size_t COMMAND_BUFFER_LENGTH = 0x100 / sizeof(u32); 15constexpr std::size_t COMMAND_BUFFER_LENGTH = 0x100 / sizeof(u32);
16 16
17// These errors are commonly returned by invalid IPC translations, so alias them here for
18// convenience.
19// TODO(yuriks): These will probably go away once translation is implemented inside the kernel.
20constexpr auto ERR_INVALID_HANDLE = Kernel::ERR_INVALID_HANDLE_OS;
21
22enum class ControlCommand : u32 { 17enum class ControlCommand : u32 {
23 ConvertSessionToDomain = 0, 18 ConvertSessionToDomain = 0,
24 ConvertDomainToSession = 1, 19 ConvertDomainToSession = 1,