diff options
author | bunnei <bunneidev@gmail.com> | 2022-01-15 08:00:55 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2022-01-22 10:33:26 +0100 |
commit | 6d8e498f76b8150a4c1c7944c475f7a43215ba4a (patch) | |
tree | 649d5fe7ecee4cc51437604d850b694932502114 /src/core/hle/kernel/k_page_table.h | |
parent | core: hle: kernel: Rename Un/Map to Un/MapMeory. (diff) | |
download | yuzu-6d8e498f76b8150a4c1c7944c475f7a43215ba4a.tar yuzu-6d8e498f76b8150a4c1c7944c475f7a43215ba4a.tar.gz yuzu-6d8e498f76b8150a4c1c7944c475f7a43215ba4a.tar.bz2 yuzu-6d8e498f76b8150a4c1c7944c475f7a43215ba4a.tar.lz yuzu-6d8e498f76b8150a4c1c7944c475f7a43215ba4a.tar.xz yuzu-6d8e498f76b8150a4c1c7944c475f7a43215ba4a.tar.zst yuzu-6d8e498f76b8150a4c1c7944c475f7a43215ba4a.zip |
Diffstat (limited to 'src/core/hle/kernel/k_page_table.h')
-rw-r--r-- | src/core/hle/kernel/k_page_table.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_page_table.h b/src/core/hle/kernel/k_page_table.h index 1a9740c92..e57d225e6 100644 --- a/src/core/hle/kernel/k_page_table.h +++ b/src/core/hle/kernel/k_page_table.h @@ -87,7 +87,6 @@ private: ResultCode MapPages(VAddr addr, const KPageLinkedList& page_linked_list, KMemoryPermission perm); ResultCode UnmapPages(VAddr addr, const KPageLinkedList& page_linked_list); - void MapPhysicalMemory(KPageLinkedList& page_linked_list, VAddr start, VAddr end); bool IsRegionMapped(VAddr address, u64 size); bool IsRegionContiguous(VAddr addr, u64 size) const; void AddRegionToPages(VAddr start, std::size_t num_pages, KPageLinkedList& page_linked_list); @@ -147,6 +146,7 @@ private: } std::recursive_mutex page_table_lock; + std::mutex map_physical_memory_lock; std::unique_ptr<KMemoryBlockManager> block_manager; public: |