summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/vm_manager.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-24 17:16:17 +0200
committerLioncash <mathew1800@gmail.com>2018-09-25 04:16:03 +0200
commit6c6f95d071b25f2743fcb6652f4389c9e25a7506 (patch)
tree330deda9baa95c5177b680ae2aab355d6f9f1105 /src/core/hle/kernel/vm_manager.cpp
parentmemory: Dehardcode the use of a 36-bit address space (diff)
downloadyuzu-6c6f95d071b25f2743fcb6652f4389c9e25a7506.tar
yuzu-6c6f95d071b25f2743fcb6652f4389c9e25a7506.tar.gz
yuzu-6c6f95d071b25f2743fcb6652f4389c9e25a7506.tar.bz2
yuzu-6c6f95d071b25f2743fcb6652f4389c9e25a7506.tar.lz
yuzu-6c6f95d071b25f2743fcb6652f4389c9e25a7506.tar.xz
yuzu-6c6f95d071b25f2743fcb6652f4389c9e25a7506.tar.zst
yuzu-6c6f95d071b25f2743fcb6652f4389c9e25a7506.zip
Diffstat (limited to 'src/core/hle/kernel/vm_manager.cpp')
-rw-r--r--src/core/hle/kernel/vm_manager.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/core/hle/kernel/vm_manager.cpp b/src/core/hle/kernel/vm_manager.cpp
index 20d06f000..e412309fd 100644
--- a/src/core/hle/kernel/vm_manager.cpp
+++ b/src/core/hle/kernel/vm_manager.cpp
@@ -474,14 +474,16 @@ u64 VMManager::GetTotalHeapUsage() const {
return 0x0;
}
-VAddr VMManager::GetAddressSpaceBaseAddr() const {
- LOG_WARNING(Kernel, "(STUBBED) called");
- return 0x8000000;
+VAddr VMManager::GetAddressSpaceBaseAddress() const {
+ return address_space_base;
+}
+
+VAddr VMManager::GetAddressSpaceEndAddress() const {
+ return address_space_end;
}
u64 VMManager::GetAddressSpaceSize() const {
- LOG_WARNING(Kernel, "(STUBBED) called");
- return MAX_ADDRESS;
+ return address_space_end - address_space_base;
}
u64 VMManager::GetAddressSpaceWidth() const {