mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-18 12:55:54 +01:00
7870423671
* Add CapabilityType enum * Add SupervisorCallCount * kernel: Add CapabilityExtensions & Change type of capabilities to uint * Remove private setter from Mask arrays * Pass ReadOnlySpan directly & Remove redundant type casts
20 lines
593 B
C#
20 lines
593 B
C#
using Ryujinx.HLE.HOS.Kernel.Memory;
|
|
|
|
namespace Ryujinx.HLE.HOS.Kernel
|
|
{
|
|
static class KernelConstants
|
|
{
|
|
public const int InitialKipId = 1;
|
|
public const int InitialProcessId = 0x51;
|
|
|
|
public const int SupervisorCallCount = 0xC0;
|
|
|
|
public const int MemoryBlockAllocatorSize = 0x2710;
|
|
|
|
public const ulong UserSlabHeapBase = DramMemoryMap.SlabHeapBase;
|
|
public const ulong UserSlabHeapItemSize = KPageTableBase.PageSize;
|
|
public const ulong UserSlabHeapSize = 0x3de000;
|
|
|
|
public const ulong CounterFrequency = 19200000;
|
|
}
|
|
} |