syscall.sh / sparc64 / 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 | 148 (0x94) |
|---|---|
| abi | common |
| entry point | sys_pciconfig_read |
| since | Linux 5.0 |
| man page | pciconfig_read(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 148, 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 0x6d to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/pciconfig_read