mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-11 03:38:02 -05:00
hle: kernel: Move slab resource counts to Kernel.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user