mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 13:14:15 -04:00
kern: add KCodeMemory code left out of previous commit
This commit is contained in:
parent
39b22cee8c
commit
7cf0432569
3 changed files with 167 additions and 3 deletions
|
@ -2665,6 +2665,7 @@ namespace ams::kern {
|
|||
|
||||
Result KPageTableBase::SetupForIpcServer(KProcessAddress *out_addr, size_t size, KProcessAddress src_addr, KMemoryPermission test_perm, KMemoryState dst_state, KPageTableBase &src_page_table, bool send) {
|
||||
MESOSPHERE_ASSERT(this->IsLockedByCurrentThread());
|
||||
MESOSPHERE_ASSERT(src_page_table.IsLockedByCurrentThread());
|
||||
|
||||
/* Check that we can theoretically map. */
|
||||
const KProcessAddress region_start = this->alias_region_start;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue