diff options
author | Subv <subv2112@gmail.com> | 2018-01-07 03:14:14 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-07 23:11:43 +0100 |
commit | 226786f0b05405b4c0287786f106ae2e08feefec (patch) | |
tree | f4cb770adc575fa749b98e60f8f5fa0012cdc4c6 /src/core/hle/ipc.h | |
parent | svc: Implement svcSignalProcessWideKey. (diff) | |
download | yuzu-226786f0b05405b4c0287786f106ae2e08feefec.tar yuzu-226786f0b05405b4c0287786f106ae2e08feefec.tar.gz yuzu-226786f0b05405b4c0287786f106ae2e08feefec.tar.bz2 yuzu-226786f0b05405b4c0287786f106ae2e08feefec.tar.lz yuzu-226786f0b05405b4c0287786f106ae2e08feefec.tar.xz yuzu-226786f0b05405b4c0287786f106ae2e08feefec.tar.zst yuzu-226786f0b05405b4c0287786f106ae2e08feefec.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/ipc.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/core/hle/ipc.h b/src/core/hle/ipc.h index 4dc8937c3..4c21f5024 100644 --- a/src/core/hle/ipc.h +++ b/src/core/hle/ipc.h @@ -143,7 +143,7 @@ struct DataPayloadHeader { }; static_assert(sizeof(DataPayloadHeader) == 8, "DataPayloadRequest size is incorrect"); -struct DomainMessageHeader { +struct DomainRequestMessageHeader { union { BitField<0, 8, u32_le> command; BitField<16, 16, u32_le> size; @@ -151,7 +151,13 @@ struct DomainMessageHeader { u32_le object_id; INSERT_PADDING_WORDS(2); }; -static_assert(sizeof(DomainMessageHeader) == 16, "DomainMessageHeader size is incorrect"); +static_assert(sizeof(DomainRequestMessageHeader) == 16, "DomainRequestMessageHeader size is incorrect"); + +struct DomainResponseMessageHeader { + u32_le num_objects; + INSERT_PADDING_WORDS(3); +}; +static_assert(sizeof(DomainResponseMessageHeader) == 16, "DomainResponseMessageHeader size is incorrect"); enum DescriptorType : u32 { // Buffer related desciptors types (mask : 0x0F) |