diff options
| author | 2018-03-16 20:06:27 -0400 | |
|---|---|---|
| committer | 2018-03-16 20:06:27 -0400 | |
| commit | e7ba2a4447bb06146f23163e82689852bf83008e (patch) | |
| tree | 7ff83f9d4b4fd4df5f48333d07fb743e3c4531cb /src/core/arm/arm_interface.h | |
| parent | Merge pull request #237 from mailwl/nifm-module (diff) | |
| parent | process: MirrorMemory should use MemoryState::Mapped. (diff) | |
| download | yuzu-e7ba2a4447bb06146f23163e82689852bf83008e.tar.gz yuzu-e7ba2a4447bb06146f23163e82689852bf83008e.tar.xz yuzu-e7ba2a4447bb06146f23163e82689852bf83008e.zip | |
Merge pull request #232 from bunnei/heap-fixes
Various heap fixes for libtransistor
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; |