diff options
author | bunnei <bunneidev@gmail.com> | 2022-03-08 05:28:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-08 05:28:39 +0100 |
commit | 1f378960660a72ad0cf166c1efd08d4e956e07eb (patch) | |
tree | d277eaeb0c384df0b6bad4868e23a7da859f1f0b /src/core/hle/kernel/k_page_table.h | |
parent | Merge pull request #7930 from asLody/dma-semaphore (diff) | |
parent | hle: kernel: KPageTable: Improve implementations of MapCodeMemory and UnmapCodeMemory. (diff) | |
download | yuzu-1f378960660a72ad0cf166c1efd08d4e956e07eb.tar yuzu-1f378960660a72ad0cf166c1efd08d4e956e07eb.tar.gz yuzu-1f378960660a72ad0cf166c1efd08d4e956e07eb.tar.bz2 yuzu-1f378960660a72ad0cf166c1efd08d4e956e07eb.tar.lz yuzu-1f378960660a72ad0cf166c1efd08d4e956e07eb.tar.xz yuzu-1f378960660a72ad0cf166c1efd08d4e956e07eb.tar.zst yuzu-1f378960660a72ad0cf166c1efd08d4e956e07eb.zip |
Diffstat (limited to 'src/core/hle/kernel/k_page_table.h')
-rw-r--r-- | src/core/hle/kernel/k_page_table.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_page_table.h b/src/core/hle/kernel/k_page_table.h index 194177332..aea1b8f63 100644 --- a/src/core/hle/kernel/k_page_table.h +++ b/src/core/hle/kernel/k_page_table.h @@ -36,8 +36,8 @@ public: KMemoryManager::Pool pool); ResultCode MapProcessCode(VAddr addr, std::size_t pages_count, KMemoryState state, KMemoryPermission perm); - ResultCode MapCodeMemory(VAddr dst_addr, VAddr src_addr, std::size_t size); - ResultCode UnmapCodeMemory(VAddr dst_addr, VAddr src_addr, std::size_t size); + ResultCode MapCodeMemory(VAddr dst_address, VAddr src_address, std::size_t size); + ResultCode UnmapCodeMemory(VAddr dst_address, VAddr src_address, std::size_t size); ResultCode UnmapProcessMemory(VAddr dst_addr, std::size_t size, KPageTable& src_page_table, VAddr src_addr); ResultCode MapPhysicalMemory(VAddr addr, std::size_t size); |