kern: Implement new PageTable operations/PhysicalMemory reference semantics
This commit is contained in:
1 parent
5ee7d8a5ed
commit
7f2cbba543
8 files changed
+91
-155
No files matched your search
@@ -92,6 +92,14 @@ namespace ams::kern {
|
||||
}
|
||||
}
|
||||
|
||||
void KPageGroup::OpenFirst() const {
|
||||
auto &mm = Kernel::GetMemoryManager();
|
||||
|
||||
for (const auto &it : *this) {
|
||||
mm.OpenFirst(it.GetAddress(), it.GetNumPages());
|
||||
}
|
||||
}
|
||||
|
||||
void KPageGroup::Close() const {
|
||||
auto &mm = Kernel::GetMemoryManager();
|
||||
|
||||
|
||||
Reference in new issue
Block a user