aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Memory/MemoryAllocationFlags.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Memory/MemoryAllocationFlags.cs')
-rw-r--r--Ryujinx.Memory/MemoryAllocationFlags.cs14
1 files changed, 13 insertions, 1 deletions
diff --git a/Ryujinx.Memory/MemoryAllocationFlags.cs b/Ryujinx.Memory/MemoryAllocationFlags.cs
index 313f33e5..6f0ef1aa 100644
--- a/Ryujinx.Memory/MemoryAllocationFlags.cs
+++ b/Ryujinx.Memory/MemoryAllocationFlags.cs
@@ -35,6 +35,18 @@ namespace Ryujinx.Memory
/// Indicates that the memory block should support mapping views of a mirrorable memory block.
/// The block that is to have their views mapped should be created with the <see cref="Mirrorable"/> flag.
/// </summary>
- ViewCompatible = 1 << 3
+ ViewCompatible = 1 << 3,
+
+ /// <summary>
+ /// If used with the <see cref="Mirrorable"/> flag, indicates that the memory block will only be used as
+ /// backing storage and will never be accessed directly, so the memory for the block will not be mapped.
+ /// </summary>
+ NoMap = 1 << 4,
+
+ /// <summary>
+ /// Indicates that the memory will be used to store JIT generated code.
+ /// On some platforms, this requires special flags to be passed that will allow the memory to be executable.
+ /// </summary>
+ Jit = 1 << 5
}
}