kern: add kernel object debug
This commit is contained in:
1 parent
0acd79c8c2
commit
1a6e003a5d
16 files changed
+341
-15
No files matched your search
@@ -147,6 +147,7 @@ namespace ams::kern {
|
||||
}
|
||||
|
||||
size_t GetFreeSize() const { return this->GetNumFreePages() * PageSize; }
|
||||
void DumpFreeList() const;
|
||||
|
||||
void UpdateUsedSize() {
|
||||
this->used_size = this->heap_size - (this->GetNumFreePages() * PageSize);
|
||||
|
||||
Reference in new issue
Block a user