summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/vm_manager.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-04 22:30:17 +0100
committerLioncash <mathew1800@gmail.com>2019-03-04 22:32:03 +0100
commit0be8fffc992e30da42004b4e640b7095e1040f53 (patch)
treed9827c3b2549658e220ee5bf78f26b6e021e83dc /src/core/hle/kernel/vm_manager.h
parentMerge pull request #2165 from ReinUsesLisp/unbind-tex (diff)
downloadyuzu-0be8fffc992e30da42004b4e640b7095e1040f53.tar
yuzu-0be8fffc992e30da42004b4e640b7095e1040f53.tar.gz
yuzu-0be8fffc992e30da42004b4e640b7095e1040f53.tar.bz2
yuzu-0be8fffc992e30da42004b4e640b7095e1040f53.tar.lz
yuzu-0be8fffc992e30da42004b4e640b7095e1040f53.tar.xz
yuzu-0be8fffc992e30da42004b4e640b7095e1040f53.tar.zst
yuzu-0be8fffc992e30da42004b4e640b7095e1040f53.zip
Diffstat (limited to 'src/core/hle/kernel/vm_manager.h')
-rw-r--r--src/core/hle/kernel/vm_manager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/kernel/vm_manager.h b/src/core/hle/kernel/vm_manager.h
index 6091533bc..60f36a5b9 100644
--- a/src/core/hle/kernel/vm_manager.h
+++ b/src/core/hle/kernel/vm_manager.h
@@ -432,6 +432,9 @@ public:
/// Gets the address space width in bits.
u64 GetAddressSpaceWidth() const;
+ /// Determines whether or not the given address range lies within the address space.
+ bool IsWithinAddressSpace(VAddr address, u64 size) const;
+
/// Gets the base address of the ASLR region.
VAddr GetASLRRegionBaseAddress() const;
@@ -480,6 +483,9 @@ public:
/// Gets the total size of the new map region in bytes.
u64 GetNewMapRegionSize() const;
+ /// Determines whether or not the given address range lies within the new map region
+ bool IsWithinNewMapRegion(VAddr address, u64 size) const;
+
/// Gets the base address of the TLS IO region.
VAddr GetTLSIORegionBaseAddress() const;