aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Memory/MemoryAllocationFlags.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2023-01-10 19:16:59 -0300
committerGitHub <noreply@github.com>2023-01-10 19:16:59 -0300
commit5e0f8e873857ce3ca3f532aff0936beb28e412c8 (patch)
tree576e5110c076b7d1f4d94e608ee21493f5b48879 /Ryujinx.Memory/MemoryAllocationFlags.cs
parentd16288a2a87f0979df30ba69d4fe10660177b6ac (diff)
Implement JIT Arm64 backend (#4114)1.1.536
* Implement JIT Arm64 backend * PPTC version bump * Address some feedback from Arm64 JIT PR * Address even more PR feedback * Remove unused IsPageAligned function * Sync Qc flag before calls * Fix comment and remove unused enum * Address riperiperi PR feedback * Delete Breakpoint IR instruction that was only implemented for Arm64
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
}
}