pread on blackfin
read from or write to a file descriptor at a given offset
sys_pread64(unsigned int fd, char *buf, size_t count, loff_t pos)
| number | 180 (0xb4) |
|---|---|
| abi | common |
| entry point | sys_pread64 |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for blackfin) |
| man page | pread(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
P0 | 180, the syscall number |
R0 | unsigned int fd |
R1 | char *buf |
R2 | size_t count |
R3 | loff_t pos |
R0 | the return value |
Then run excpt 0 to enter the kernel.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Get this as JSON: https://api.syscall.sh/v2/syscalls/blackfin/pread?kernel=all