summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-03-05 16:09:27 +0100
committerZach Hilman <zachhilman@gmail.com>2019-03-05 16:09:36 +0100
commit52ac6419dafb84b10369226d3746b3b5b761d33b (patch)
tree008c14ba2e019b86128e6168ad49a3a1eafa6ba8 /src/core/hle/kernel
parentcore: Add support for registering and controlling ownership of CheatEngine (diff)
downloadyuzu-52ac6419dafb84b10369226d3746b3b5b761d33b.tar
yuzu-52ac6419dafb84b10369226d3746b3b5b761d33b.tar.gz
yuzu-52ac6419dafb84b10369226d3746b3b5b761d33b.tar.bz2
yuzu-52ac6419dafb84b10369226d3746b3b5b761d33b.tar.lz
yuzu-52ac6419dafb84b10369226d3746b3b5b761d33b.tar.xz
yuzu-52ac6419dafb84b10369226d3746b3b5b761d33b.tar.zst
yuzu-52ac6419dafb84b10369226d3746b3b5b761d33b.zip
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/vm_manager.cpp17
-rw-r--r--src/core/hle/kernel/vm_manager.h8
2 files changed, 0 insertions, 25 deletions
diff --git a/src/core/hle/kernel/vm_manager.cpp b/src/core/hle/kernel/vm_manager.cpp
index 161a83660..10ad94aa6 100644
--- a/src/core/hle/kernel/vm_manager.cpp
+++ b/src/core/hle/kernel/vm_manager.cpp
@@ -786,23 +786,6 @@ u64 VMManager::GetNewMapRegionSize() const {
return new_map_region_end - new_map_region_base;
}
-void VMManager::SetMainCodeRegion(VAddr begin, VAddr end) {
- main_code_region_base = begin;
- main_code_region_end = end;
-}
-
-VAddr VMManager::GetMainCodeRegionBaseAddress() const {
- return main_code_region_base;
-}
-
-VAddr VMManager::GetMainCodeRegionEndAddress() const {
- return main_code_region_end;
-}
-
-u64 VMManager::GetMainCodeRegionSize() const {
- return main_code_region_end - main_code_region_base;
-}
-
VAddr VMManager::GetTLSIORegionBaseAddress() const {
return tls_io_region_base;
}
diff --git a/src/core/hle/kernel/vm_manager.h b/src/core/hle/kernel/vm_manager.h
index 728318f4b..d83a63e07 100644
--- a/src/core/hle/kernel/vm_manager.h
+++ b/src/core/hle/kernel/vm_manager.h
@@ -480,14 +480,6 @@ public:
/// Gets the total size of the new map region in bytes.
u64 GetNewMapRegionSize() const;
- void SetMainCodeRegion(VAddr begin, VAddr end);
-
- VAddr GetMainCodeRegionBaseAddress() const;
-
- VAddr GetMainCodeRegionEndAddress() const;
-
- u64 GetMainCodeRegionSize() const;
-
/// Gets the base address of the TLS IO region.
VAddr GetTLSIORegionBaseAddress() const;