aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Memory/MemoryMapFlags.cs
blob: 5c023cc124ed997f07202e9097c3524d06c6d12f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System;

namespace Ryujinx.Memory
{
    /// <summary>
    /// Flags that indicate how the host memory should be mapped.
    /// </summary>
    [Flags]
    public enum MemoryMapFlags
    {
        /// <summary>
        /// No mapping flags.
        /// </summary>
        None = 0,

        /// <summary>
        /// Indicates that the implementation is free to ignore the specified backing memory offset
        /// and allocate its own private storage for the mapping.
        /// This allows some mappings that would otherwise fail due to host platform restrictions to succeed.
        /// </summary>
        Private = 1 << 0,
    }
}