diff options
| author | 2018-03-16 18:22:14 -0400 | |
|---|---|---|
| committer | 2018-03-16 18:32:24 -0400 | |
| commit | 403f8e79eaade7209c6cfd7a9d4334ce5add28df (patch) | |
| tree | 71ab181d8299e7608fa3f856ee0394d66ee55c8f /src/core/arm/arm_interface.h | |
| parent | svc: Use more correct values for GetInfo MapRegion and NewMapRegion. (diff) | |
| download | yuzu-403f8e79eaade7209c6cfd7a9d4334ce5add28df.tar.gz yuzu-403f8e79eaade7209c6cfd7a9d4334ce5add28df.tar.xz yuzu-403f8e79eaade7209c6cfd7a9d4334ce5add28df.zip | |
arm_interface: Support unmapping previously mapped memory.
Diffstat (limited to 'src/core/arm/arm_interface.h')
| -rw-r--r-- | src/core/arm/arm_interface.h | 6 |
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: | |||
| 39 | Run(1); | 39 | Run(1); |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | /// Maps a backing memory region for the CPU | ||
| 42 | virtual void MapBackingMemory(VAddr address, size_t size, u8* memory, | 43 | virtual void MapBackingMemory(VAddr address, size_t size, u8* memory, |
| 43 | Kernel::VMAPermission perms) {} | 44 | Kernel::VMAPermission perms) = 0; |
| 45 | |||
| 46 | /// Unmaps a region of memory that was previously mapped using MapBackingMemory | ||
| 47 | virtual void UnmapMemory(VAddr address, size_t size) = 0; | ||
| 44 | 48 | ||
| 45 | /// Clear all instruction cache | 49 | /// Clear all instruction cache |
| 46 | virtual void ClearInstructionCache() = 0; | 50 | virtual void ClearInstructionCache() = 0; |