syscall.sh / nios2 / cacheflush
cacheflush
flush contents of instruction and/or data cache
sys_cacheflush(unsigned long addr, unsigned long len, unsigned int op)
| number | 244 (0xf4) |
|---|---|
| abi | nios2 |
| entry point | sys_cacheflush |
| since | Linux 3.19 |
| man page | cacheflush(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r2 | 244, the syscall number |
r4 | unsigned long addr |
r5 | unsigned long len |
r6 | unsigned int op |
r2 | the return value |
Then run trap to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/nios2/cacheflush