summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-01-29 21:03:29 +0100
committerLiam <byteslice@airmail.cc>2023-02-01 23:18:21 +0100
commit7d1c3a3f59d4dd55c012bdd46d4ec092d141e814 (patch)
tree20dd32b3568c1c88081b6c81fba3765ff0d03362 /src/core/hle/kernel/kernel.h
parentMerge pull request #9696 from german77/please_forgive_me_for_this_sin (diff)
downloadyuzu-7d1c3a3f59d4dd55c012bdd46d4ec092d141e814.tar
yuzu-7d1c3a3f59d4dd55c012bdd46d4ec092d141e814.tar.gz
yuzu-7d1c3a3f59d4dd55c012bdd46d4ec092d141e814.tar.bz2
yuzu-7d1c3a3f59d4dd55c012bdd46d4ec092d141e814.tar.lz
yuzu-7d1c3a3f59d4dd55c012bdd46d4ec092d141e814.tar.xz
yuzu-7d1c3a3f59d4dd55c012bdd46d4ec092d141e814.tar.zst
yuzu-7d1c3a3f59d4dd55c012bdd46d4ec092d141e814.zip
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r--src/core/hle/kernel/kernel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index 8d22f8d2c..5f52e1e95 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -35,6 +35,7 @@ class GlobalSchedulerContext;
class KAutoObjectWithListContainer;
class KClientSession;
class KDebug;
+class KDeviceAddressSpace;
class KDynamicPageManager;
class KEvent;
class KEventInfo;
@@ -359,6 +360,8 @@ public:
return slab_heap_container->transfer_memory;
} else if constexpr (std::is_same_v<T, KCodeMemory>) {
return slab_heap_container->code_memory;
+ } else if constexpr (std::is_same_v<T, KDeviceAddressSpace>) {
+ return slab_heap_container->device_address_space;
} else if constexpr (std::is_same_v<T, KPageBuffer>) {
return slab_heap_container->page_buffer;
} else if constexpr (std::is_same_v<T, KThreadLocalPage>) {
@@ -431,6 +434,7 @@ private:
KSlabHeap<KThread> thread;
KSlabHeap<KTransferMemory> transfer_memory;
KSlabHeap<KCodeMemory> code_memory;
+ KSlabHeap<KDeviceAddressSpace> device_address_space;
KSlabHeap<KPageBuffer> page_buffer;
KSlabHeap<KThreadLocalPage> thread_local_page;
KSlabHeap<KSessionRequest> session_request;