summaryrefslogtreecommitdiffstats
path: root/src/core/arm/unicorn
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-07-11 11:32:50 +0200
committerLioncash <mathew1800@gmail.com>2019-07-11 11:35:46 +0200
commit70624e1c1d16c2ff3b786ec56ec550f699065741 (patch)
tree1af05389ea6cad2ad31847fdc38d2d825597179c /src/core/arm/unicorn
parentMerge pull request #2714 from DarkLordZach/repo-sync-pipeline (diff)
downloadyuzu-70624e1c1d16c2ff3b786ec56ec550f699065741.tar
yuzu-70624e1c1d16c2ff3b786ec56ec550f699065741.tar.gz
yuzu-70624e1c1d16c2ff3b786ec56ec550f699065741.tar.bz2
yuzu-70624e1c1d16c2ff3b786ec56ec550f699065741.tar.lz
yuzu-70624e1c1d16c2ff3b786ec56ec550f699065741.tar.xz
yuzu-70624e1c1d16c2ff3b786ec56ec550f699065741.tar.zst
yuzu-70624e1c1d16c2ff3b786ec56ec550f699065741.zip
Diffstat (limited to 'src/core/arm/unicorn')
-rw-r--r--src/core/arm/unicorn/arm_unicorn.cpp9
-rw-r--r--src/core/arm/unicorn/arm_unicorn.h3
2 files changed, 0 insertions, 12 deletions
diff --git a/src/core/arm/unicorn/arm_unicorn.cpp b/src/core/arm/unicorn/arm_unicorn.cpp
index 4e07fe8b5..b0ee7821a 100644
--- a/src/core/arm/unicorn/arm_unicorn.cpp
+++ b/src/core/arm/unicorn/arm_unicorn.cpp
@@ -76,15 +76,6 @@ ARM_Unicorn::~ARM_Unicorn() {
CHECKED(uc_close(uc));
}
-void ARM_Unicorn::MapBackingMemory(VAddr address, std::size_t size, u8* memory,
- Kernel::VMAPermission perms) {
- CHECKED(uc_mem_map_ptr(uc, address, size, static_cast<u32>(perms), memory));
-}
-
-void ARM_Unicorn::UnmapMemory(VAddr address, std::size_t size) {
- CHECKED(uc_mem_unmap(uc, address, size));
-}
-
void ARM_Unicorn::SetPC(u64 pc) {
CHECKED(uc_reg_write(uc, UC_ARM64_REG_PC, &pc));
}
diff --git a/src/core/arm/unicorn/arm_unicorn.h b/src/core/arm/unicorn/arm_unicorn.h
index 34e974b4d..fe2ffd70c 100644
--- a/src/core/arm/unicorn/arm_unicorn.h
+++ b/src/core/arm/unicorn/arm_unicorn.h
@@ -18,9 +18,6 @@ public:
explicit ARM_Unicorn(System& system);
~ARM_Unicorn() override;
- void MapBackingMemory(VAddr address, std::size_t size, u8* memory,
- Kernel::VMAPermission perms) override;
- void UnmapMemory(VAddr address, std::size_t size) override;
void SetPC(u64 pc) override;
u64 GetPC() const override;
u64 GetReg(int index) const override;