Ryujinx/Ryujinx.HLE/HOS/Kernel/Memory/MemoryPermission.cs

19 lines
354 B
C#
Raw Normal View History

using System;
namespace Ryujinx.HLE.HOS.Kernel.Memory
{
[Flags]
enum KMemoryPermission : uint
{
None = 0,
Mask = uint.MaxValue,
Read = 1 << 0,
Write = 1 << 1,
Execute = 1 << 2,
DontCare = 1 << 28,
ReadAndWrite = Read | Write,
ReadAndExecute = Read | Execute
}
}