diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-01-10 21:27:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-10 21:27:33 +0100 |
commit | cbcf210c19b3661e0edda03f22ef323cb5b30c26 (patch) | |
tree | f48957b563b25e43c180ada20c144f5a4749bdca /src/core/hle/kernel/k_page_table.h | |
parent | Merge pull request #9601 from liamwhite/it-never-ends (diff) | |
parent | Revert "Revert "k_page_group: synchronize"" (diff) | |
download | yuzu-cbcf210c19b3661e0edda03f22ef323cb5b30c26.tar yuzu-cbcf210c19b3661e0edda03f22ef323cb5b30c26.tar.gz yuzu-cbcf210c19b3661e0edda03f22ef323cb5b30c26.tar.bz2 yuzu-cbcf210c19b3661e0edda03f22ef323cb5b30c26.tar.lz yuzu-cbcf210c19b3661e0edda03f22ef323cb5b30c26.tar.xz yuzu-cbcf210c19b3661e0edda03f22ef323cb5b30c26.tar.zst yuzu-cbcf210c19b3661e0edda03f22ef323cb5b30c26.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/k_page_table.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/hle/kernel/k_page_table.h b/src/core/hle/kernel/k_page_table.h index f1ca785d7..0a454b05b 100644 --- a/src/core/hle/kernel/k_page_table.h +++ b/src/core/hle/kernel/k_page_table.h @@ -107,6 +107,10 @@ public: return *m_page_table_impl; } + KBlockInfoManager* GetBlockInfoManager() { + return m_block_info_manager; + } + bool CanContain(VAddr addr, size_t size, KMemoryState state) const; protected: @@ -261,10 +265,6 @@ private: void CleanupForIpcClientOnServerSetupFailure(PageLinkedList* page_list, VAddr address, size_t size, KMemoryPermission prot_perm); - // HACK: These will be removed once we automatically manage page reference counts. - void HACK_OpenPages(PAddr phys_addr, size_t num_pages); - void HACK_ClosePages(VAddr virt_addr, size_t num_pages); - mutable KLightLock m_general_lock; mutable KLightLock m_map_physical_memory_lock; @@ -488,6 +488,7 @@ private: std::unique_ptr<Common::PageTable> m_page_table_impl; Core::System& m_system; + KernelCore& m_kernel; }; } // namespace Kernel |