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