syscall.sh / arm / pciconfig_read
pciconfig_read
pci device information handling
sys_pciconfig_read(unsigned long bus, unsigned long dfn, unsigned long off, unsigned long len, void *buf)
| number | 272 (0x110) |
|---|---|
| abi | common |
| entry point | sys_pciconfig_read |
| since | Linux 4.10 |
| man page | pciconfig_read(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 272, the syscall number |
r0 | unsigned long bus |
r1 | unsigned long dfn |
r2 | unsigned long off |
r3 | unsigned long len |
r4 | void *buf |
r0 | the return value |
Then run svc #0 to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/arm/pciconfig_read