SVC: Difference between revisions

 
(6 intermediate revisions by 2 users not shown)
Line 255: Line 255:
| 0x7F || void || [[#CallSecureMonitor|CallSecureMonitor]] || SecureMonitorArguments *args
| 0x7F || void || [[#CallSecureMonitor|CallSecureMonitor]] || SecureMonitorArguments *args
|-
|-
| [S2] 0x80 || ? || ? || arg0, arg1, arg2, arg3
| [S2] 0x80 || Result || SetMemoryAttribute2? || uintptr_t address, size_t size, uint32_t mask, uint32_t attr
|- style="border-top: double"
|- style="border-top: double"
| [15.0.0+] 0x90  || Result || MapInsecurePhysicalMemory || uintptr_t address, size_t size
| [15.0.0+] 0x90  || Result || MapInsecurePhysicalMemory || uintptr_t address, size_t size
Line 509: Line 509:
! Argument64 || Argument32 || Type || Name
! Argument64 || Argument32 || Type || Name
|-
|-
| (In) X0 || R0, R1 || uint64_t || Nanoseconds
| (In) X0 || R0, R1 || int64_t || Nanoseconds
|}
|}
</div>
</div>
Line 944: Line 944:
|}
|}
</div>
</div>
[S2] All errors returned by the SendSyncRequest* SVCs will automatically close the session (unknown whether handled by kernel/sysmodule).


== SendSyncRequestWithUserBuffer ==
== SendSyncRequestWithUserBuffer ==
Line 2,668: Line 2,670:
|-
|-
| Process || 28 || 0 || [18.0.0+] AliasRegionExtraSize
| Process || 28 || 0 || [18.0.0+] AliasRegionExtraSize
|-
| Process || 29 || 0 || [S2] Returns 0 in compatibility processes.
|-
| Process || 30 || 0 || [S2] Returns 0 in compatibility processes.
|-
| Process || 31 || 0 || [S2]
|-
| Process || 32 || 0 || [S2]
|-
| Process || 33 || 0 || [S2] ProcessPageSize
|-
| TransferMemory || 34 || 0 || [19.0.0+] TransferMemoryHint
|}
|}


Line 3,051: Line 3,065:
|-
|-
| 26 || [15.0.0+] FlagLinearMapped ||
| 26 || [15.0.0+] FlagLinearMapped ||
|-
| 27 || [17.0.0+] FlagCanPermissionLock ||
|}
|}