2018-11-28 14:18:09 -08:00
|
|
|
namespace Ryujinx.HLE.HOS.Kernel
|
|
|
|
{
|
|
|
|
struct ProcessCreationInfo
|
|
|
|
{
|
2018-12-04 12:23:37 -08:00
|
|
|
public string Name { get; }
|
2018-11-28 14:18:09 -08:00
|
|
|
|
2018-12-04 12:23:37 -08:00
|
|
|
public int Category { get; }
|
|
|
|
public long TitleId { get; }
|
2018-11-28 14:18:09 -08:00
|
|
|
|
2018-12-04 12:23:37 -08:00
|
|
|
public ulong CodeAddress { get; }
|
|
|
|
public int CodePagesCount { get; }
|
2018-11-28 14:18:09 -08:00
|
|
|
|
2018-12-04 12:23:37 -08:00
|
|
|
public int MmuFlags { get; }
|
|
|
|
public int ResourceLimitHandle { get; }
|
|
|
|
public int PersonalMmHeapPagesCount { get; }
|
2018-11-28 14:18:09 -08:00
|
|
|
|
|
|
|
public ProcessCreationInfo(
|
2018-12-04 12:23:37 -08:00
|
|
|
string name,
|
|
|
|
int category,
|
|
|
|
long titleId,
|
|
|
|
ulong codeAddress,
|
|
|
|
int codePagesCount,
|
|
|
|
int mmuFlags,
|
|
|
|
int resourceLimitHandle,
|
|
|
|
int personalMmHeapPagesCount)
|
2018-11-28 14:18:09 -08:00
|
|
|
{
|
2018-12-04 12:23:37 -08:00
|
|
|
Name = name;
|
|
|
|
Category = category;
|
|
|
|
TitleId = titleId;
|
|
|
|
CodeAddress = codeAddress;
|
|
|
|
CodePagesCount = codePagesCount;
|
|
|
|
MmuFlags = mmuFlags;
|
|
|
|
ResourceLimitHandle = resourceLimitHandle;
|
|
|
|
PersonalMmHeapPagesCount = personalMmHeapPagesCount;
|
2018-11-28 14:18:09 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|