aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/vm_manager.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-10-17 18:31:51 -0400
committerGitHub <noreply@github.com>2018-10-17 18:31:51 -0400
commit6e8752881ca4ee3f2ae9259d3df13e03bbf53938 (patch)
tree5a5e2671410022dc915233916b24edcb3060ef5f /src/core/hle/kernel/vm_manager.h
parent86dcf2942b4a2135c00d2d0303fbbb6d46758714 (diff)
parent90f8474fc183387f6d2daa437dcba4f88ced9b33 (diff)
Merge pull request #1498 from lioncash/aslr
svc: Clarify enum values for AddressSpaceBaseAddr and AddressSpaceSize in svcGetInfo()
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;