diff options
author | bunnei <bunneidev@gmail.com> | 2022-10-29 23:17:36 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2022-11-04 05:17:06 +0100 |
commit | 3aab7d4473495fcfebf345c290edb81ab9bfd688 (patch) | |
tree | 8ae554abc4f6ebc3042854371c968ff8b80cef65 /src/core/hle/kernel | |
parent | core: hle: kernel: k_page_bitmap: Refresh. (diff) | |
download | yuzu-3aab7d4473495fcfebf345c290edb81ab9bfd688.tar yuzu-3aab7d4473495fcfebf345c290edb81ab9bfd688.tar.gz yuzu-3aab7d4473495fcfebf345c290edb81ab9bfd688.tar.bz2 yuzu-3aab7d4473495fcfebf345c290edb81ab9bfd688.tar.lz yuzu-3aab7d4473495fcfebf345c290edb81ab9bfd688.tar.xz yuzu-3aab7d4473495fcfebf345c290edb81ab9bfd688.tar.zst yuzu-3aab7d4473495fcfebf345c290edb81ab9bfd688.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/k_dynamic_resource_manager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_dynamic_resource_manager.h b/src/core/hle/kernel/k_dynamic_resource_manager.h index 1ce517e8e..b6a27d648 100644 --- a/src/core/hle/kernel/k_dynamic_resource_manager.h +++ b/src/core/hle/kernel/k_dynamic_resource_manager.h @@ -6,6 +6,7 @@ #include "common/common_funcs.h" #include "core/hle/kernel/k_dynamic_slab_heap.h" #include "core/hle/kernel/k_memory_block.h" +#include "core/hle/kernel/k_page_group.h" namespace Kernel { @@ -51,8 +52,10 @@ private: DynamicSlabType* m_slab_heap{}; }; +class KBlockInfoManager : public KDynamicResourceManager<KBlockInfo> {}; class KMemoryBlockSlabManager : public KDynamicResourceManager<KMemoryBlock> {}; +using KBlockInfoSlabHeap = typename KBlockInfoManager::DynamicSlabType; using KMemoryBlockSlabHeap = typename KMemoryBlockSlabManager::DynamicSlabType; } // namespace Kernel |