syscall.sh / ppc64 / 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 | 199 (0xc7) |
|---|---|
| abi | nospu |
| entry point | sys_pciconfig_write |
| since | Linux 5.0 |
| man page | pciconfig_write(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 199, the syscall number |
r3 | unsigned long bus |
r4 | unsigned long dfn |
r5 | unsigned long off |
r6 | unsigned long len |
r7 | void *buf |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc64/pciconfig_write