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)
number198 (0xc6)
abinospu
entry pointsys_pciconfig_read
sinceLinux 5.0
man pagepciconfig_read(2)
sourceelixir.bootlin.com

Registers

registervalue
r0198, the syscall number
r3unsigned long bus
r4unsigned long dfn
r5unsigned long off
r6unsigned long len
r7void *buf
r3the 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