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

Registers

registervalue
v0345, the syscall number
a0unsigned long bus
a1unsigned long dfn
a2unsigned long off
a3unsigned long len
a4void *buf
v0the return value

Then run callsys to enter the kernel.

Same syscall on other architectures

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