summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/vm_manager.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-14 20:44:38 +0200
committerLioncash <mathew1800@gmail.com>2018-10-15 02:11:16 +0200
commit90f8474fc183387f6d2daa437dcba4f88ced9b33 (patch)
treed8cc0787a00bbbd2ce2d40a18971a29fc610cc4d /src/core/hle/kernel/vm_manager.h
parentMerge pull request #1492 from lioncash/proc (diff)
downloadyuzu-90f8474fc183387f6d2daa437dcba4f88ced9b33.tar
yuzu-90f8474fc183387f6d2daa437dcba4f88ced9b33.tar.gz
yuzu-90f8474fc183387f6d2daa437dcba4f88ced9b33.tar.bz2
yuzu-90f8474fc183387f6d2daa437dcba4f88ced9b33.tar.lz
yuzu-90f8474fc183387f6d2daa437dcba4f88ced9b33.tar.xz
yuzu-90f8474fc183387f6d2daa437dcba4f88ced9b33.tar.zst
yuzu-90f8474fc183387f6d2daa437dcba4f88ced9b33.zip
Diffstat (limited to 'src/core/hle/kernel/vm_manager.h')
-rw-r--r--src/core/hle/kernel/vm_manager.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/hle/kernel/vm_manager.h b/src/core/hle/kernel/vm_manager.h
index 015559a64..4accde6b3 100644
--- a/src/core/hle/kernel/vm_manager.h
+++ b/src/core/hle/kernel/vm_manager.h
@@ -205,6 +205,15 @@ public:
/// Gets the address space width in bits.
u64 GetAddressSpaceWidth() const;
+ /// Gets the base address of the ASLR region.
+ VAddr GetASLRRegionBaseAddress() const;
+
+ /// Gets the end address of the ASLR region.
+ VAddr GetASLRRegionEndAddress() const;
+
+ /// Gets the size of the ASLR region
+ u64 GetASLRRegionSize() const;
+
/// Gets the base address of the code region.
VAddr GetCodeRegionBaseAddress() const;
@@ -306,6 +315,9 @@ private:
VAddr address_space_base = 0;
VAddr address_space_end = 0;
+ VAddr aslr_region_base = 0;
+ VAddr aslr_region_end = 0;
+
VAddr code_region_base = 0;
VAddr code_region_end = 0;