aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/Memory/MemoryProtection.cs
blob: 6bc16f8ea1848226f8770a9f540eddf5b3f4132c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System;

namespace ARMeilleure.Memory
{
    [Flags]
    public enum MemoryProtection
    {
        None    = 0,
        Read    = 1 << 0,
        Write   = 1 << 1,
        Execute = 1 << 2,

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