Move kernel state out of the Horizon class (#1107)
* Move kernel state from Horizon to KernelContext * Merge syscalls partial classes, split 32 and 64-bit variants * Sort usings
This commit is contained in:
parent
cd48576f58
commit
15d1cc806b
68 changed files with 3678 additions and 3570 deletions
16
Ryujinx.HLE/HOS/Kernel/KernelConstants.cs
Normal file
16
Ryujinx.HLE/HOS/Kernel/KernelConstants.cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
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 MemoryBlockAllocatorSize = 0x2710;
|
||||
|
||||
public const ulong UserSlabHeapBase = DramMemoryMap.SlabHeapBase;
|
||||
public const ulong UserSlabHeapItemSize = KMemoryManager.PageSize;
|
||||
public const ulong UserSlabHeapSize = 0x3de000;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue