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