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