kern: add KAlpha/KBeta

This commit is contained in:
Michael Scire authored and SciresM committed 2020-12-02 06:43:37 -08:00
1 parent e400e2afc7
commit 5da6b60008
8 files changed
+118 -1

No files matched your search

@@ -129,6 +129,17 @@ namespace ams::kern {
}
}
/* Close all references to our betas. */
{
auto it = this->beta_list.begin();
while (it != this->beta_list.end()) {
KBeta *beta = std::addressof(*it);
it = this->beta_list.erase(it);
beta->Close();
}
}
/* Our thread local page list must be empty at this point. */
MESOSPHERE_ABORT_UNLESS(this->partially_used_tlp_tree.empty());
MESOSPHERE_ABORT_UNLESS(this->fully_used_tlp_tree.empty());