aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Kernel/MemoryPermission.cs
blob: 63539c2ebadbcdd1fb4629c49736695a358da356 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System;

namespace Ryujinx.HLE.HOS.Kernel
{
    [Flags]
    enum MemoryPermission : byte
    {
        None = 0,
        Mask = 0xff,

        Read    = 1 << 0,
        Write   = 1 << 1,
        Execute = 1 << 2,

        ReadAndWrite   = Read | Write,
        ReadAndExecute = Read | Execute
    }
}