2018-12-18 05:33:36 +00:00
|
|
|
namespace Ryujinx.HLE.HOS.Kernel.Process
|
2018-11-28 22:18:09 +00:00
|
|
|
{
|
|
|
|
struct ProcessCreationInfo
|
|
|
|
{
|
2018-12-05 00:52:39 +00:00
|
|
|
public string Name { get; private set; }
|
2018-11-28 22:18:09 +00:00
|
|
|
|
2020-07-09 04:31:15 +00:00
|
|
|
public int Version { get; private set; }
|
2019-09-02 16:03:57 +00:00
|
|
|
public ulong TitleId { get; private set; }
|
2018-11-28 22:18:09 +00:00
|
|
|
|
2018-12-05 00:52:39 +00:00
|
|
|
public ulong CodeAddress { get; private set; }
|
|
|
|
public int CodePagesCount { get; private set; }
|
2018-11-28 22:18:09 +00:00
|
|
|
|
2018-12-05 00:52:39 +00:00
|
|
|
public int MmuFlags { get; private set; }
|
|
|
|
public int ResourceLimitHandle { get; private set; }
|
|
|
|
public int PersonalMmHeapPagesCount { get; private set; }
|
2018-11-28 22:18:09 +00:00
|
|
|
|
|
|
|
public ProcessCreationInfo(
|
2018-12-06 11:16:24 +00:00
|
|
|
string name,
|
|
|
|
int category,
|
2019-09-02 16:03:57 +00:00
|
|
|
ulong titleId,
|
2018-12-06 11:16:24 +00:00
|
|
|
ulong codeAddress,
|
|
|
|
int codePagesCount,
|
|
|
|
int mmuFlags,
|
|
|
|
int resourceLimitHandle,
|
|
|
|
int personalMmHeapPagesCount)
|
2018-11-28 22:18:09 +00:00
|
|
|
{
|
2018-12-06 11:16:24 +00:00
|
|
|
Name = name;
|
2020-07-09 04:31:15 +00:00
|
|
|
Version = category;
|
2018-12-06 11:16:24 +00:00
|
|
|
TitleId = titleId;
|
|
|
|
CodeAddress = codeAddress;
|
|
|
|
CodePagesCount = codePagesCount;
|
|
|
|
MmuFlags = mmuFlags;
|
|
|
|
ResourceLimitHandle = resourceLimitHandle;
|
|
|
|
PersonalMmHeapPagesCount = personalMmHeapPagesCount;
|
2018-11-28 22:18:09 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|