aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Kernel/Process/ProcessCreationInfo.cs
blob: b5e5c29bb18bc310bd19fce519ada62bd4c5ce72 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
namespace Ryujinx.HLE.HOS.Kernel.Process
{
    readonly struct ProcessCreationInfo
    {
        public string Name { get; }

        public int Version { get; }
        public ulong TitleId { get; }

        public ulong CodeAddress { get; }
        public int CodePagesCount { get; }

        public ProcessCreationFlags Flags { get; }
        public int ResourceLimitHandle { get; }
        public int SystemResourcePagesCount { get; }

        public ProcessCreationInfo(
            string name,
            int version,
            ulong titleId,
            ulong codeAddress,
            int codePagesCount,
            ProcessCreationFlags flags,
            int resourceLimitHandle,
            int systemResourcePagesCount)
        {
            Name = name;
            Version = version;
            TitleId = titleId;
            CodeAddress = codeAddress;
            CodePagesCount = codePagesCount;
            Flags = flags;
            ResourceLimitHandle = resourceLimitHandle;
            SystemResourcePagesCount = systemResourcePagesCount;
        }
    }
}