syscall.sh / ppc / 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 | 198 (0xc6) |
|---|---|
| abi | nospu |
| entry point | sys_pciconfig_read |
| since | Linux 5.0 |
| man page | pciconfig_read(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 198, the syscall number |
r3 | unsigned long bus |
r4 | unsigned long dfn |
r5 | unsigned long off |
r6 | unsigned long len |
r7 | void *buf |
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/ppc/pciconfig_read