syscall.sh / sparc / 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)
number148 (0x94)
abicommon
entry pointsys_pciconfig_read
sinceLinux 5.0
man pagepciconfig_read(2)
sourceelixir.bootlin.com

Registers

registervalue
g1148, the syscall number
o0unsigned long bus
o1unsigned long dfn
o2unsigned long off
o3unsigned long len
o4void *buf
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/pciconfig_read