Changes

Jump to navigation Jump to search
525 bytes added ,  16:54, 25 August 2019
Add 32-bit ABI for svc*ProcessMemory
| 0x72 || svcConnectToPort || W1=clientport_handle || W0=result, W1=session_handle
|-
| 0x73 || [[#svcSetProcessMemoryPermission]] || W0=process_handle, X1=addr, X2=size, W3=perm R0=process_handle, R1=size_lower32, R2=addr_lower32, R3=addr_upper32, R4=size_upper32, R5=perm|| W0=result
|-
| 0x74 || [[#svcMapProcessMemory]] || X0=dstaddr, W1=process_handle, X2=srcaddr, X3=size R0=dstaddr, R1=process_handle, R2=srcaddr_lower32, R3=srcaddr_upper32, R4=size|| W0=result
|-
| 0x75 || [[#svcUnmapProcessMemory]] || X0=dstaddr, W1=process_handle, X2=srcaddr, X3=size R0=dstaddr, R1=process_handle, R2=srcaddr_lower32, R3=srcaddr_upper32, R4=size|| W0=result
|-
| 0x76 || [[#svcQueryProcessMemory]] || X0=meminfo_ptr, W2=process_handle, X3=addr R0=meminfo_ptr, R1=addr_lower32, R2=process_handle, R3=addr_upper32|| W0=result, W1=pageinfo
|-
| 0x77 || [[#svcMapProcessCodeMemory]] || W0=process_handle, X1=dstaddr, X2=srcaddr, X3=size || W0=result
{| class="wikitable" border="1"
|-
! Argument Argument64 || Argument32 || Type || Name
|-
| (In) W0 || R0 || Handle<Process> || ProcessHandle
|-
| (In) X1 || R2, R3 || u64 || Addr
|-
| (In) X2 || R1, R4 || u64 || Size
|-
| (In) W3 || R5 || void* || Perm
|-
| (Out) W0 || R0 || [[#Result]] || Ret
|}
</div>
{| class="wikitable" border="1"
|-
! Argument Argument64 || Argument32 || Type || Name
|-
| (In) X0 || R0 || u64 || DstAddr
|-
| (In) W1 || R1 || Handle<Process> || ProcessHandle
|-
| (In) X2 || R2, R3 || void* || SrcAddr
|-
| (In) X3 || R4 || u64 || Size
|-
| (Out) W0 || R0 || [[#Result]] || Ret
|}
</div>
{| class="wikitable" border="1"
|-
! Argument Argument64 || Argument32 || Type || Name
|-
| (In) X0 || R0 || void* || DstAddr
|-
| (In) W1 || R1 || Handle<Process> || ProcessHandle
|-
| (In) X2 || R2, R3 || u64 || SrcAddr
|-
| (In) X3 || R4 || u64 || Size
|-
| (Out) W0 || R0 || [[#Result]] || Ret
|}
</div>
{| class="wikitable" border="1"
|-
! Argument Argument64 || Argument32 || Type || Name
|-
| (In) X0 || R0 || [[#MemoryInfo]]* || MemInfoPtr
|-
| (In) W2 || R2 || Handle<Process> || ProcessHandle
|-
| (In) X3 || R1, R3 || u64 || Addr
|-
| (Out) W0 || R0 || [[#Result]] || Ret
|-
| (Out) W1 || R1 || PageInfo || PageInfo
|}
</div>
151

edits

Navigation menu