kern: implement KCodeMemory (and SVCs)
This commit is contained in:
1 parent
3fb3beeaff
commit
39b22cee8c
6 files changed
+152
-10
No files matched your search
@@ -48,7 +48,7 @@ namespace ams::kern {
|
||||
void KTransferMemory::Finalize() {
|
||||
MESOSPHERE_ASSERT_THIS();
|
||||
|
||||
/* Unmap. */
|
||||
/* Unlock. */
|
||||
if (!this->is_mapped) {
|
||||
const size_t size = GetReference(this->page_group).GetNumPages() * PageSize;
|
||||
MESOSPHERE_R_ABORT_UNLESS(this->owner->GetPageTable().UnlockForTransferMemory(this->address, size, GetReference(this->page_group)));
|
||||
|
||||
Reference in new issue
Block a user