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)
| number | 149 (0x95) |
|---|---|
| abi | common |
| entry point | sys_pciconfig_write |
| since | Linux 5.0 |
| man page | pciconfig_write(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 149, the syscall number |
o0 | unsigned long bus |
o1 | unsigned long dfn |
o2 | unsigned long off |
o3 | unsigned long len |
o4 | void *buf |
o0 | the 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