aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Kernel/Ipc/KBufferDescriptor.cs
blob: e28244d4ac38708cd2fa8ee0050969610b92ad63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using Ryujinx.HLE.HOS.Kernel.Memory;

namespace Ryujinx.HLE.HOS.Kernel.Ipc
{
    class KBufferDescriptor
    {
        public ulong       ClientAddress { get; }
        public ulong       ServerAddress { get; }
        public ulong       Size          { get; }
        public MemoryState State         { get; }

        public KBufferDescriptor(ulong src, ulong dst, ulong size, MemoryState state)
        {
            ClientAddress = src;
            ServerAddress = dst;
            Size          = size;
            State         = state;
        }
    }
}