aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Memory/IVirtualMemoryManager.cs
diff options
context:
space:
mode:
authorriperiperi <rhy3756547@hotmail.com>2024-03-14 22:38:27 +0000
committerGitHub <noreply@github.com>2024-03-14 19:38:27 -0300
commitfdd3263e31f8bf352a21e05703d0a6a82c800995 (patch)
tree24859502db57a2febaa5ab4c7d968d7375156079 /src/Ryujinx.Memory/IVirtualMemoryManager.cs
parentce607db944beb352065107830769d8570f0c245e (diff)
Separate guest/host tracking + unaligned protection (#6486)1.1.1229
* WIP: Separate guest/host tracking + unaligned protection Allow memory manager to define support for single byte guest tracking * Formatting * Improve docs * Properly handle cases where the address space bits are too low * Address feedback
Diffstat (limited to 'src/Ryujinx.Memory/IVirtualMemoryManager.cs')
-rw-r--r--src/Ryujinx.Memory/IVirtualMemoryManager.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Ryujinx.Memory/IVirtualMemoryManager.cs b/src/Ryujinx.Memory/IVirtualMemoryManager.cs
index 9cf3663c..557da2f2 100644
--- a/src/Ryujinx.Memory/IVirtualMemoryManager.cs
+++ b/src/Ryujinx.Memory/IVirtualMemoryManager.cs
@@ -214,6 +214,7 @@ namespace Ryujinx.Memory
/// <param name="va">Virtual address base</param>
/// <param name="size">Size of the region to protect</param>
/// <param name="protection">Memory protection to set</param>
- void TrackingReprotect(ulong va, ulong size, MemoryPermission protection);
+ /// <param name="guest">True if the protection is for guest access, false otherwise</param>
+ void TrackingReprotect(ulong va, ulong size, MemoryPermission protection, bool guest);
}
}