mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-13 22:54:24 -04:00
kern: add KAlpha/KBeta
This commit is contained in:
parent
e400e2afc7
commit
5da6b60008
8 changed files with 118 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue