diff options
author | bunnei <bunneidev@gmail.com> | 2021-05-05 06:35:42 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-05-06 01:40:54 +0200 |
commit | b805ee653f3d178ed2b4b2e0a403bb0ab61dad8b (patch) | |
tree | fd54235441ff4c2a0986e106bf57c501c2c9982b /src/core/hle/kernel/kernel.h | |
parent | fixup! hle: kernel: Migrate KSharedMemory to KAutoObject. (diff) | |
download | yuzu-b805ee653f3d178ed2b4b2e0a403bb0ab61dad8b.tar yuzu-b805ee653f3d178ed2b4b2e0a403bb0ab61dad8b.tar.gz yuzu-b805ee653f3d178ed2b4b2e0a403bb0ab61dad8b.tar.bz2 yuzu-b805ee653f3d178ed2b4b2e0a403bb0ab61dad8b.tar.lz yuzu-b805ee653f3d178ed2b4b2e0a403bb0ab61dad8b.tar.xz yuzu-b805ee653f3d178ed2b4b2e0a403bb0ab61dad8b.tar.zst yuzu-b805ee653f3d178ed2b4b2e0a403bb0ab61dad8b.zip |
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r-- | src/core/hle/kernel/kernel.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index 7c46aa997..51aaccbc7 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h @@ -51,6 +51,10 @@ class ServiceThread; class Synchronization; class TimeManager; +namespace Init { +struct KSlabResourceCounts; +} + template <typename T> class KSlabHeap; @@ -292,6 +296,12 @@ public: } } + /// Gets the current slab resource counts. + Init::KSlabResourceCounts& SlabResourceCounts(); + + /// Gets the current slab resource counts. + const Init::KSlabResourceCounts& SlabResourceCounts() const; + private: friend class KProcess; friend class KThread; |