mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-29 14:05:17 -04:00
kern/ldr: add support for --x executables
This commit is contained in:
parent
2855b8ee35
commit
ff38a32a9b
9 changed files with 54 additions and 40 deletions
|
@ -27,6 +27,7 @@ namespace ams::os::impl {
|
|||
case os::MemoryPermission_ReadOnly: return svc::MemoryPermission_Read;
|
||||
case os::MemoryPermission_ReadWrite: return svc::MemoryPermission_ReadWrite;
|
||||
case os::MemoryPermission_ReadExecute: return svc::MemoryPermission_ReadExecute;
|
||||
case os::MemoryPermission_ExecuteOnly: return svc::MemoryPermission_Execute;
|
||||
AMS_UNREACHABLE_DEFAULT_CASE();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue