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
|
@ -6,19 +6,19 @@ namespace Ryujinx.HLE.HOS.Kernel.Memory
|
|||
{
|
||||
class KSharedMemory : KAutoObject
|
||||
{
|
||||
private KPageList _pageList;
|
||||
private readonly KPageList _pageList;
|
||||
|
||||
private long _ownerPid;
|
||||
private readonly long _ownerPid;
|
||||
|
||||
private MemoryPermission _ownerPermission;
|
||||
private MemoryPermission _userPermission;
|
||||
private readonly MemoryPermission _ownerPermission;
|
||||
private readonly MemoryPermission _userPermission;
|
||||
|
||||
public KSharedMemory(
|
||||
Horizon system,
|
||||
KernelContext context,
|
||||
KPageList pageList,
|
||||
long ownerPid,
|
||||
MemoryPermission ownerPermission,
|
||||
MemoryPermission userPermission) : base(system)
|
||||
MemoryPermission userPermission) : base(context)
|
||||
{
|
||||
_pageList = pageList;
|
||||
_ownerPid = ownerPid;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue