hle: kernel: Move slab resource counts to Kernel.
This commit is contained in:
parent
d2c4dbde9e
commit
b805ee653f
4 changed files with 52 additions and 33 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue