syscall.sh / csky / cacheflush
cacheflush
flush contents of instruction and/or data cache
sys_cacheflush(void *, unsigned long, int)
| number | 245 (0xf5) |
|---|---|
| abi | csky |
| entry point | sys_cacheflush |
| since | Linux 4.20 |
| man page | cacheflush(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 245, the syscall number |
a0 | void * |
a1 | unsigned long |
a2 | int |
a0 | the return value |
Then run trap 0 to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/csky/cacheflush