summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/core/nvmap.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-01-19 19:52:19 +0100
committerLiam <byteslice@airmail.cc>2024-01-23 03:18:52 +0100
commita120f8ff4de31ef4fe34306016e23a94aa2e665d (patch)
tree85b1849554ee6c18064919ffb71195511bff063d /src/core/hle/service/nvdrv/core/nvmap.h
parentkernel: target invalidate to given process (diff)
downloadyuzu-a120f8ff4de31ef4fe34306016e23a94aa2e665d.tar
yuzu-a120f8ff4de31ef4fe34306016e23a94aa2e665d.tar.gz
yuzu-a120f8ff4de31ef4fe34306016e23a94aa2e665d.tar.bz2
yuzu-a120f8ff4de31ef4fe34306016e23a94aa2e665d.tar.lz
yuzu-a120f8ff4de31ef4fe34306016e23a94aa2e665d.tar.xz
yuzu-a120f8ff4de31ef4fe34306016e23a94aa2e665d.tar.zst
yuzu-a120f8ff4de31ef4fe34306016e23a94aa2e665d.zip
Diffstat (limited to 'src/core/hle/service/nvdrv/core/nvmap.h')
-rw-r--r--src/core/hle/service/nvdrv/core/nvmap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/service/nvdrv/core/nvmap.h b/src/core/hle/service/nvdrv/core/nvmap.h
index d7f695845..b8be599ae 100644
--- a/src/core/hle/service/nvdrv/core/nvmap.h
+++ b/src/core/hle/service/nvdrv/core/nvmap.h
@@ -152,6 +152,8 @@ public:
*/
std::optional<FreeInfo> FreeHandle(Handle::Id handle, bool internal_session);
+ void UnmapAllHandles(NvCore::SessionId session_id);
+
private:
std::list<std::shared_ptr<Handle>> unmap_queue{};
std::mutex unmap_queue_lock{}; //!< Protects access to `unmap_queue`