syscall.sh / mips64 / cacheflush
cacheflush
flush contents of instruction and/or data cache
sys_cacheflush(unsigned long addr, unsigned long bytes, unsigned int cache)
| number | 5197 (0x144d) |
|---|---|
| abi | n64 |
| entry point | sys_cacheflush |
| since | Linux 5.0 |
| man page | cacheflush(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 5197, 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/mips64/cacheflush