syscall.sh / sparc / pciconfig_write

pciconfig_write

pci device information handling

sys_pciconfig_write(unsigned long bus, unsigned long dfn, unsigned long off, unsigned long len, void *buf)
number149 (0x95)
abicommon
entry pointsys_pciconfig_write
sinceLinux 5.0
man pagepciconfig_write(2)
sourceelixir.bootlin.com

Registers

registervalue
g1149, 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_write