syscall.sh / m68k / cacheflush
cacheflush
flush contents of instruction and/or data cache
sys_cacheflush(unsigned long addr, int scope, int cache, unsigned long len)
| number | 123 (0x7b) |
|---|---|
| abi | common |
| entry point | sys_cacheflush |
| since | Linux 5.0 |
| man page | cacheflush(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 123, the syscall number |
d1 | unsigned long addr |
d2 | int scope |
d3 | int cache |
d4 | unsigned long len |
d0 | 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/m68k/cacheflush