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