syscall.sh / arm / pciconfig_iobase
pciconfig_iobase
pci device information handling
sys_pciconfig_iobase(long which, unsigned long bus, unsigned long devfn)
| number | 271 (0x10f) |
|---|---|
| abi | common |
| entry point | sys_pciconfig_iobase |
| since | Linux 4.10 |
| man page | pciconfig_iobase(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 271, the syscall number |
r0 | long which |
r1 | unsigned long bus |
r2 | unsigned long devfn |
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_iobase