2018-08-15 14:59:51 -04:00
|
|
|
using System;
|
|
|
|
|
2018-12-18 00:33:36 -05:00
|
|
|
namespace Ryujinx.HLE.HOS.Kernel.Memory
|
2018-08-15 14:59:51 -04:00
|
|
|
{
|
|
|
|
[Flags]
|
2021-10-23 19:24:49 -04:00
|
|
|
enum KMemoryPermission : uint
|
2018-08-15 14:59:51 -04:00
|
|
|
{
|
|
|
|
None = 0,
|
2021-10-23 19:24:49 -04:00
|
|
|
Mask = uint.MaxValue,
|
2018-08-15 14:59:51 -04:00
|
|
|
|
2021-10-23 19:24:49 -04:00
|
|
|
Read = 1 << 0,
|
|
|
|
Write = 1 << 1,
|
|
|
|
Execute = 1 << 2,
|
|
|
|
DontCare = 1 << 28,
|
2018-08-15 14:59:51 -04:00
|
|
|
|
|
|
|
ReadAndWrite = Read | Write,
|
|
|
|
ReadAndExecute = Read | Execute
|
|
|
|
}
|
|
|
|
}
|