mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-31 06:48:22 -04:00
kern: implement SvcMapProcessMemory, SvcUnmapProcessMemory
This commit is contained in:
parent
3cf793f87e
commit
fb6e85b291
4 changed files with 112 additions and 19 deletions
|
@ -88,6 +88,10 @@ namespace ams::kern::arch::arm64 {
|
|||
return this->page_table.MapPageGroup(addr, pg, state, perm);
|
||||
}
|
||||
|
||||
Result UnmapPageGroup(KProcessAddress address, const KPageGroup &pg, KMemoryState state) {
|
||||
return this->page_table.UnmapPageGroup(address, pg, state);
|
||||
}
|
||||
|
||||
Result MapPages(KProcessAddress *out_addr, size_t num_pages, size_t alignment, KPhysicalAddress phys_addr, KMemoryState state, KMemoryPermission perm) {
|
||||
return this->page_table.MapPages(out_addr, num_pages, alignment, phys_addr, state, perm);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue