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