2018-11-28 14:18:09 -08:00
|
|
|
namespace Ryujinx.HLE.HOS.Kernel
|
|
|
|
{
|
|
|
|
struct ProcessCreationInfo
|
|
|
|
{
|
2018-12-04 16:52:39 -08:00
|
|
|
public string Name { get; private set; }
|
2018-11-28 14:18:09 -08:00
|
|
|
|
2018-12-04 16:52:39 -08:00
|
|
|
public int Category { get; private set; }
|
|
|
|
public long TitleId { get; private set; }
|
2018-11-28 14:18:09 -08:00
|
|
|
|
2018-12-04 16:52:39 -08:00
|
|
|
public ulong CodeAddress { get; private set; }
|
|
|
|
public int CodePagesCount { get; private set; }
|
2018-11-28 14:18:09 -08:00
|
|
|
|
2018-12-04 16:52:39 -08:00
|
|
|
public int MmuFlags { get; private set; }
|
|
|
|
public int ResourceLimitHandle { get; private set; }
|
|
|
|
public int PersonalMmHeapPagesCount { get; private set; }
|
2018-11-28 14:18:09 -08:00
|
|
|
|
|
|
|
public ProcessCreationInfo(
|
2018-12-04 16:52:39 -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 16:52:39 -08: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 14:18:09 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|