2018-12-18 06:33:36 +01:00
|
|
|
namespace Ryujinx.HLE.HOS.Kernel.Process
|
2018-11-28 23:18:09 +01:00
|
|
|
{
|
2022-12-05 14:47:39 +01:00
|
|
|
readonly struct ProcessCreationInfo
|
2018-11-28 23:18:09 +01:00
|
|
|
{
|
2020-12-02 00:23:43 +01:00
|
|
|
public string Name { get; }
|
2018-11-28 23:18:09 +01:00
|
|
|
|
2020-12-02 00:23:43 +01:00
|
|
|
public int Version { get; }
|
|
|
|
public ulong TitleId { get; }
|
2018-11-28 23:18:09 +01:00
|
|
|
|
2020-12-02 00:23:43 +01:00
|
|
|
public ulong CodeAddress { get; }
|
|
|
|
public int CodePagesCount { get; }
|
2018-11-28 23:18:09 +01:00
|
|
|
|
2020-12-02 00:23:43 +01:00
|
|
|
public ProcessCreationFlags Flags { get; }
|
|
|
|
public int ResourceLimitHandle { get; }
|
|
|
|
public int SystemResourcePagesCount { get; }
|
2018-11-28 23:18:09 +01:00
|
|
|
|
|
|
|
public ProcessCreationInfo(
|
2018-12-06 12:16:24 +01:00
|
|
|
string name,
|
2020-12-02 00:23:43 +01:00
|
|
|
int version,
|
|
|
|
ulong titleId,
|
|
|
|
ulong codeAddress,
|
|
|
|
int codePagesCount,
|
|
|
|
ProcessCreationFlags flags,
|
|
|
|
int resourceLimitHandle,
|
|
|
|
int systemResourcePagesCount)
|
2018-11-28 23:18:09 +01:00
|
|
|
{
|
2020-12-02 00:23:43 +01:00
|
|
|
Name = name;
|
|
|
|
Version = version;
|
|
|
|
TitleId = titleId;
|
|
|
|
CodeAddress = codeAddress;
|
|
|
|
CodePagesCount = codePagesCount;
|
|
|
|
Flags = flags;
|
|
|
|
ResourceLimitHandle = resourceLimitHandle;
|
|
|
|
SystemResourcePagesCount = systemResourcePagesCount;
|
2018-11-28 23:18:09 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|