syscall.sh / ppc64 / pciconfig_iobase
pciconfig_iobase
pci device information handling
sys_pciconfig_iobase(long which, unsigned long bus, unsigned long devfn)
| number | 200 (0xc8) |
|---|---|
| abi | nospu |
| entry point | sys_pciconfig_iobase |
| since | Linux 5.0 |
| man page | pciconfig_iobase(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 200, the syscall number |
r3 | long which |
r4 | unsigned long bus |
r5 | unsigned long devfn |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc64/pciconfig_iobase