mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-29 07:21:20 -08:00
20ce37dee6
* Start refactoring kernel a bit and import some changes from kernel decoupling PR * kernel: Put output always at the start in Syscall functions * kernel: Rewrite GetThreadContext3 to use a structure and to be accurate * kernel: make KernelTransfer use generic types and simplify * Fix some warning and do not use getters on MemoryInfo * Address gdkchan's comment * GetThreadContext3: use correct pause flag
20 lines
405 B
C#
20 lines
405 B
C#
using System;
|
|
|
|
namespace Ryujinx.HLE.HOS.Kernel.Memory
|
|
{
|
|
[Flags]
|
|
enum KMemoryPermission : uint
|
|
{
|
|
None = 0,
|
|
UserMask = Read | Write | Execute,
|
|
Mask = uint.MaxValue,
|
|
|
|
Read = 1 << 0,
|
|
Write = 1 << 1,
|
|
Execute = 1 << 2,
|
|
DontCare = 1 << 28,
|
|
|
|
ReadAndWrite = Read | Write,
|
|
ReadAndExecute = Read | Execute
|
|
}
|
|
} |