diff options
author | Michael Scire <SciresM@gmail.com> | 2019-07-09 08:17:44 +0200 |
---|---|---|
committer | Michael Scire <SciresM@gmail.com> | 2019-07-09 17:11:35 +0200 |
commit | a1845d1dd3e6b03159c66e0c925688c98e373956 (patch) | |
tree | 015775a2c7425f1417c239f429db676216f828a4 /src/video_core/memory_manager.h | |
parent | Prevent merging of device mapped memory blocks. (diff) | |
download | yuzu-a1845d1dd3e6b03159c66e0c925688c98e373956.tar yuzu-a1845d1dd3e6b03159c66e0c925688c98e373956.tar.gz yuzu-a1845d1dd3e6b03159c66e0c925688c98e373956.tar.bz2 yuzu-a1845d1dd3e6b03159c66e0c925688c98e373956.tar.lz yuzu-a1845d1dd3e6b03159c66e0c925688c98e373956.tar.xz yuzu-a1845d1dd3e6b03159c66e0c925688c98e373956.tar.zst yuzu-a1845d1dd3e6b03159c66e0c925688c98e373956.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/memory_manager.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/video_core/memory_manager.h b/src/video_core/memory_manager.h index 43a84bd52..aea010087 100644 --- a/src/video_core/memory_manager.h +++ b/src/video_core/memory_manager.h @@ -14,6 +14,10 @@ namespace VideoCore { class RasterizerInterface; } +namespace Core { +class System; +} + namespace Tegra { /** @@ -47,7 +51,7 @@ struct VirtualMemoryArea { class MemoryManager final { public: - explicit MemoryManager(VideoCore::RasterizerInterface& rasterizer); + explicit MemoryManager(Core::System& system, VideoCore::RasterizerInterface& rasterizer); ~MemoryManager(); GPUVAddr AllocateSpace(u64 size, u64 align); @@ -173,6 +177,8 @@ private: Common::PageTable page_table{page_bits}; VMAMap vma_map; VideoCore::RasterizerInterface& rasterizer; + + Core::System& system; }; } // namespace Tegra |