syscall.sh / arc / cacheflush
cacheflush
flush contents of instruction and/or data cache
sys_cacheflush(uint32_t, uint32_t uint32_t)
| number | 244 (0xf4) |
|---|---|
| abi | arc |
| entry point | sys_cacheflush |
| since | Linux 3.9 |
| man page | cacheflush(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r8 | 244, the syscall number |
r0 | uint32_t |
r1 | uint32_t uint32_t |
r0 | the return value |
Then run trap0 to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/arc/cacheflush