aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Kernel/Ipc/KBufferDescriptor.cs
blob: 5fa9cbe7aa5c4bdffecb49bcda9258b48040b195 (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;
        }
    }
}