2018-11-28 22:18:09 +00:00
|
|
|
namespace Ryujinx.HLE.HOS.Kernel
|
|
|
|
{
|
|
|
|
struct ProcessCreationInfo
|
|
|
|
{
|
|
|
|
public string Name { get; private set; }
|
|
|
|
|
|
|
|
public int Category { get; private set; }
|
|
|
|
public long TitleId { get; private set; }
|
|
|
|
|
|
|
|
public ulong CodeAddress { get; private set; }
|
|
|
|
public int CodePagesCount { get; private set; }
|
|
|
|
|
|
|
|
public int MmuFlags { get; private set; }
|
|
|
|
public int ResourceLimitHandle { get; private set; }
|
|
|
|
public int PersonalMmHeapPagesCount { get; private set; }
|
|
|
|
|
|
|
|
public ProcessCreationInfo(
|
2018-12-01 20:01:59 +00:00
|
|
|
string name,
|
|
|
|
int category,
|
|
|
|
long titleId,
|
|
|
|
ulong codeAddress,
|
|
|
|
int codePagesCount,
|
|
|
|
int mmuFlags,
|
|
|
|
int resourceLimitHandle,
|
|
|
|
int personalMmHeapPagesCount)
|
2018-11-28 22:18:09 +00:00
|
|
|
{
|
2018-12-01 20:01:59 +00:00
|
|
|
this.Name = name;
|
|
|
|
this.Category = category;
|
|
|
|
this.TitleId = titleId;
|
|
|
|
this.CodeAddress = codeAddress;
|
|
|
|
this.CodePagesCount = codePagesCount;
|
|
|
|
this.MmuFlags = mmuFlags;
|
|
|
|
this.ResourceLimitHandle = resourceLimitHandle;
|
|
|
|
this.PersonalMmHeapPagesCount = personalMmHeapPagesCount;
|
2018-11-28 22:18:09 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|