kern: update UnmapIoRegion for new Mapping_Memory handling
This commit is contained in:
1 parent
c058376b3b
commit
8ffc177b44
4 files changed
+28
-7
No files matched your search
@@ -85,7 +85,7 @@ namespace ams::kern {
|
||||
KScopedLightLock lk(m_lock);
|
||||
|
||||
/* Unmap ourselves. */
|
||||
R_TRY(GetCurrentProcess().GetPageTable().UnmapIoRegion(address, m_physical_address, size));
|
||||
R_TRY(GetCurrentProcess().GetPageTable().UnmapIoRegion(address, m_physical_address, size, m_mapping));
|
||||
|
||||
/* Remove ourselves from the current process. */
|
||||
GetCurrentProcess().RemoveIoRegion(this);
|
||||
|
||||
Reference in new issue
Block a user