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)
| number | 345 (0x159) |
|---|---|
| abi | common |
| entry point | sys_pciconfig_read |
| since | Linux 5.0 |
| man page | pciconfig_read(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 345, the syscall number |
a0 | unsigned long bus |
a1 | unsigned long dfn |
a2 | unsigned long off |
a3 | unsigned long len |
a4 | void *buf |
v0 | the 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