Changes

Jump to navigation Jump to search
355 bytes added ,  10:03, 2 October 2019
We were lied to. Based on 5.0.0 info.
| 0x53 || [[#svcCreateInterruptEvent]] || X1=irq_num, W2=flag || W0=result, W1=handle
|-
| 0x54 || [[#svcQueryPhysicalAddress]] || X1=addr || W0=result, X1=physaddr, X2=kerneladdrbaseaddr, X3=size
|-
| 0x55 || [[#svcQueryIoMapping]] || X1=physaddr, X2=size
| (Out) X1 || u64 || PhysAddr
|-
| (Out) X2 || u64 || KernelAddrBaseAddr
|-
| (Out) X3 || u64 || Size
|}
</div>
 
'''Description:''' Query the physical address of a virtual address. Will always fetch the lowest page-aligned mapping that contains the provided physical address.
 
The returned BaseAddr is the virtual address of that page-aligned mapping, while PhysAddr is the physical address of that page. Size is the amount of continuous physical memory in that mapping.
== svcQueryIoMapping ==
151

edits

Navigation menu