SVC: Difference between revisions

 
(4 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 || Result || SetMemoryAttribute2? || uintptr_t address, size_t size, uint32_t mask, uint32_t attr
| [S2] 0x80 || Result || SetGpuMemoryAttribute || uintptr_t address, size_t size, uint32_t mask, uint32_t attr
|-
| [S2] 0x81 || Result || LockGpuSharableMemory || PhysicalMemoryInfo* info_out, Handle process_handle, uintptr_t address, size_t size
|-
| [S2] 0x82 || Result || UnlockGpuSharableMemory || Handle process_handle, uintptr_t address, size_t size
|- 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 1,641: Line 1,645:
[2.0.0+] Whitelist was extended with 0x4c4, 0x4c8, 0x4cc, 0x584, 0x588, 0x58c.
[2.0.0+] Whitelist was extended with 0x4c4, 0x4c8, 0x4cc, 0x584, 0x588, 0x58c.


[2.0.0+] The IO registers in range 0x7000E400 (PMC) size 0xC00 skip the whitelist, and do a TrustZone call using [[SMC#ReadWriteRegister|ReadWriteRegister]].
[2.0.0+] The IO registers in range 0x7000E400 (PMC) size 0xC00 skip the whitelist, and do a TrustZone call using [[SMC#ReadWriteRegister|smcReadWriteRegister]].


[4.0.0+] Access to the Memory Controller (0x70019000) also uses smcReadWriteRegister.
[4.0.0+] Access to the Memory Controller (0x70019000) also uses smcReadWriteRegister.
Line 2,671: Line 2,675:
| Process || 28 || 0 || [18.0.0+] AliasRegionExtraSize
| Process || 28 || 0 || [18.0.0+] AliasRegionExtraSize
|-
|-
| Process || 29 || 0 || [S2] Returns 0 in compatibility processes.
| Process || 29 || 0 || [S2] RemoteRegionAddress
|-
|-
| Process || 30 || 0 || [S2] Returns 0 in compatibility processes.
| Process || 30 || 0 || [S2] RemoteRegionSize
|-
|-
| Process || 31 || 0 || [S2]  
| Process || 31 || 0 || [S2] RemoteMemoryUsage
|-
|-
| Process || 32 || 0 || [S2]  
| Process || 32 || 0 || [S2] RemoteMemoryUsagePeak
|-
|-
| Process || 33 || 0 || [S2] ProcessPageSize
| Process || 33 || 0 || [S2] ProcessPageSize
Line 3,018: Line 3,022:
| 4 || PermissionLocked ||  
| 4 || PermissionLocked ||  
|-
|-
| 5-6 || [S2] ? || GPU/IOMMU related?
| 5 || [S2] GpuSharable ||
|-
| 6 || [S2] GpuShared ||  
|-
|-
|}
|}