syscall.sh / arm / ARM_cacheflush
ARM_cacheflush
flush contents of instruction and/or data cache
arm_syscall(unsigned long start, unsigned long end, int flags)
| number | 983042 (0xf0002) |
|---|---|
| abi | private |
| entry point | arm_syscall |
| since | Linux 4.10 |
| man page | cacheflush(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 983042, the syscall number |
r0 | unsigned long start |
r1 | unsigned long end |
r2 | int flags |
r0 | the return value |
Then run svc #0 to enter the kernel.
Get this as JSON: https://api.syscall.sh/v2/syscalls/arm/ARM_cacheflush