syscall.sh / alpha / pciconfig_iobase
pciconfig_iobase
pci device information handling
sys_pciconfig_iobase(long which, unsigned long bus, unsigned long devfn)
| number | 376 (0x178) |
|---|---|
| abi | common |
| entry point | sys_pciconfig_iobase |
| since | Linux 5.0 |
| man page | pciconfig_iobase(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 376, the syscall number |
a0 | long which |
a1 | unsigned long bus |
a2 | unsigned long devfn |
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_iobase