mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-10-21 01:21:41 +00:00
2ab777885b
* kernel: Define InfoTYpe and make it less obscure when reading GetInfo Also map ThreadTickCount to 25 instead of 0xF0000002 like 13.x kernel. * kernel: Implement GetInfo IsApplication * kernel: Implement GetInfo FreeThreadCount
33 lines
826 B
C#
33 lines
826 B
C#
namespace Ryujinx.HLE.HOS.Kernel.SupervisorCall
|
|
{
|
|
enum InfoType : uint
|
|
{
|
|
CoreMask,
|
|
PriorityMask,
|
|
AliasRegionAddress,
|
|
AliasRegionSize,
|
|
HeapRegionAddress,
|
|
HeapRegionSize,
|
|
TotalMemorySize,
|
|
UsedMemorySize,
|
|
DebuggerAttached,
|
|
ResourceLimit,
|
|
IdleTickCount,
|
|
RandomEntropy,
|
|
AslrRegionAddress,
|
|
AslrRegionSize,
|
|
StackRegionAddress,
|
|
StackRegionSize,
|
|
SystemResourceSizeTotal,
|
|
SystemResourceSizeUsed,
|
|
ProgramId,
|
|
// NOTE: Added in 4.0.0, removed in 5.0.0.
|
|
InitialProcessIdRange,
|
|
UserExceptionContextAddress,
|
|
TotalNonSystemMemorySize,
|
|
UsedNonSystemMemorySize,
|
|
IsApplication,
|
|
FreeThreadCount,
|
|
ThreadTickCount
|
|
}
|
|
}
|