syscall.sh / mipsn32 / cacheflush
cacheflush
flush contents of instruction and/or data cache
sys_cacheflush(unsigned long addr, unsigned long bytes, unsigned int cache)
| number | 6197 (0x1835) |
|---|---|
| abi | n32 |
| entry point | sys_cacheflush |
| since | Linux 5.0 |
| man page | cacheflush(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 6197, the syscall number |
a0 | unsigned long addr |
a1 | unsigned long bytes |
a2 | unsigned int cache |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipsn32/cacheflush