kern: add kernel object debug

This commit is contained in:
Michael Scire committed 2020-12-10 03:31:57 -08:00
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);