summaryrefslogtreecommitdiffstats
path: root/src/core/arm/arm_interface.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-03-16 23:22:14 +0100
committerbunnei <bunneidev@gmail.com>2018-03-16 23:32:24 +0100
commit403f8e79eaade7209c6cfd7a9d4334ce5add28df (patch)
tree71ab181d8299e7608fa3f856ee0394d66ee55c8f /src/core/arm/arm_interface.h
parentsvc: Use more correct values for GetInfo MapRegion and NewMapRegion. (diff)
downloadyuzu-403f8e79eaade7209c6cfd7a9d4334ce5add28df.tar
yuzu-403f8e79eaade7209c6cfd7a9d4334ce5add28df.tar.gz
yuzu-403f8e79eaade7209c6cfd7a9d4334ce5add28df.tar.bz2
yuzu-403f8e79eaade7209c6cfd7a9d4334ce5add28df.tar.lz
yuzu-403f8e79eaade7209c6cfd7a9d4334ce5add28df.tar.xz
yuzu-403f8e79eaade7209c6cfd7a9d4334ce5add28df.tar.zst
yuzu-403f8e79eaade7209c6cfd7a9d4334ce5add28df.zip
Diffstat (limited to 'src/core/arm/arm_interface.h')
-rw-r--r--src/core/arm/arm_interface.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h
index 5ae60214e..6667c7dba 100644
--- a/src/core/arm/arm_interface.h
+++ b/src/core/arm/arm_interface.h
@@ -39,8 +39,12 @@ public:
Run(1);
}
+ /// Maps a backing memory region for the CPU
virtual void MapBackingMemory(VAddr address, size_t size, u8* memory,
- Kernel::VMAPermission perms) {}
+ Kernel::VMAPermission perms) = 0;
+
+ /// Unmaps a region of memory that was previously mapped using MapBackingMemory
+ virtual void UnmapMemory(VAddr address, size_t size) = 0;
/// Clear all instruction cache
virtual void ClearInstructionCache() = 0;