aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Memory/Tracking/RegionFlags.cs
blob: ceb8e56a6387d84d876c669547f824a7dcb4a0ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ryujinx.Memory.Tracking
{
    [Flags]
    public enum RegionFlags
    {
        None = 0,

        /// <summary>
        /// Access to the resource is expected to occasionally be unaligned.
        /// With some memory managers, guest protection must extend into the previous page to cover unaligned access.
        /// If this is not expected, protection is not altered, which can avoid unintended resource dirty/flush.
        /// </summary>
        UnalignedAccess = 1,
    }
}