kern: add kernel object debug
This commit is contained in:
@@ -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