summaryrefslogtreecommitdiffstats
path: root/src/core/hle/ipc.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-01-17 07:16:55 +0100
committerbunnei <bunneidev@gmail.com>2018-01-17 07:20:10 +0100
commit30cb98f874d0df9e818976f2140135ac8fe1501b (patch)
tree53bba56a04da35b8c262038db928bc0158458389 /src/core/hle/ipc.h
parentloggin: Add IPC logging category. (diff)
downloadyuzu-30cb98f874d0df9e818976f2140135ac8fe1501b.tar
yuzu-30cb98f874d0df9e818976f2140135ac8fe1501b.tar.gz
yuzu-30cb98f874d0df9e818976f2140135ac8fe1501b.tar.bz2
yuzu-30cb98f874d0df9e818976f2140135ac8fe1501b.tar.lz
yuzu-30cb98f874d0df9e818976f2140135ac8fe1501b.tar.xz
yuzu-30cb98f874d0df9e818976f2140135ac8fe1501b.tar.zst
yuzu-30cb98f874d0df9e818976f2140135ac8fe1501b.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/ipc.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/hle/ipc.h b/src/core/hle/ipc.h
index 88ba105e5..1840fac12 100644
--- a/src/core/hle/ipc.h
+++ b/src/core/hle/ipc.h
@@ -143,6 +143,11 @@ struct DataPayloadHeader {
static_assert(sizeof(DataPayloadHeader) == 8, "DataPayloadRequest size is incorrect");
struct DomainMessageHeader {
+ enum class CommandType : u32_le {
+ SendMessage = 1,
+ CloseVirtualHandle = 2,
+ };
+
union {
// Used when responding to an IPC request, Server -> Client.
struct {
@@ -153,7 +158,7 @@ struct DomainMessageHeader {
// Used when performing an IPC request, Client -> Server.
struct {
union {
- BitField<0, 8, u32_le> command;
+ BitField<0, 8, CommandType> command;
BitField<16, 16, u32_le> size;
};
u32_le object_id;