syscall.sh / parisc / cacheflush
cacheflush
flush contents of instruction and/or data cache
sys_cacheflush(unsigned long addr, unsigned long bytes, unsigned int cache)
| number | 356 (0x164) |
|---|---|
| abi | common |
| entry point | sys_cacheflush |
| since | Linux 6.5 |
| man page | cacheflush(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 356, the syscall number |
r26 | unsigned long addr |
r25 | unsigned long bytes |
r24 | unsigned int cache |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/cacheflush