mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-08-17 14:18:44 +02:00
* 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;
|
|
}
|
|
} |