diff options
Diffstat (limited to 'src')
| -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 @@ | |||
| 6 | #include "common/common_funcs.h" | 6 | #include "common/common_funcs.h" |
| 7 | #include "core/hle/kernel/k_dynamic_slab_heap.h" | 7 | #include "core/hle/kernel/k_dynamic_slab_heap.h" |
| 8 | #include "core/hle/kernel/k_memory_block.h" | 8 | #include "core/hle/kernel/k_memory_block.h" |
| 9 | #include "core/hle/kernel/k_page_group.h" | ||
| 9 | 10 | ||
| 10 | namespace Kernel { | 11 | namespace Kernel { |
| 11 | 12 | ||
| @@ -51,8 +52,10 @@ private: | |||
| 51 | DynamicSlabType* m_slab_heap{}; | 52 | DynamicSlabType* m_slab_heap{}; |
| 52 | }; | 53 | }; |
| 53 | 54 | ||
| 55 | class KBlockInfoManager : public KDynamicResourceManager<KBlockInfo> {}; | ||
| 54 | class KMemoryBlockSlabManager : public KDynamicResourceManager<KMemoryBlock> {}; | 56 | class KMemoryBlockSlabManager : public KDynamicResourceManager<KMemoryBlock> {}; |
| 55 | 57 | ||
| 58 | using KBlockInfoSlabHeap = typename KBlockInfoManager::DynamicSlabType; | ||
| 56 | using KMemoryBlockSlabHeap = typename KMemoryBlockSlabManager::DynamicSlabType; | 59 | using KMemoryBlockSlabHeap = typename KMemoryBlockSlabManager::DynamicSlabType; |
| 57 | 60 | ||
| 58 | } // namespace Kernel | 61 | } // namespace Kernel |