mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-02 15:49:48 -04:00
kern: implement KCodeMemory (and SVCs)
This commit is contained in:
parent
3fb3beeaff
commit
39b22cee8c
6 changed files with 152 additions and 10 deletions
|
@ -156,8 +156,8 @@ namespace ams::kern::arch::arm64 {
|
|||
return this->page_table.UnlockForTransferMemory(address, size, pg);
|
||||
}
|
||||
|
||||
Result LockForCodeMemory(KPageGroup *out, KProcessAddress address, size_t size, KMemoryPermission perm) {
|
||||
return this->page_table.LockForCodeMemory(out, address, size, perm);
|
||||
Result LockForCodeMemory(KPageGroup *out, KProcessAddress address, size_t size) {
|
||||
return this->page_table.LockForCodeMemory(out, address, size);
|
||||
}
|
||||
|
||||
Result UnlockForCodeMemory(KProcessAddress address, size_t size, const KPageGroup &pg) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue