syscall.sh / riscv64 / riscv_flush_icache
riscv_flush_icache
Flush icaches on RISC-V
sys_riscv_flush_icache(uintptr_t start, uintptr_t end, uintptr_t flags)
| number | 259 (0x103) |
|---|---|
| abi | riscv |
| entry point | sys_riscv_flush_icache |
| since | Linux 4.15 |
| man page | riscv_flush_icache(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a7 | 259, the syscall number |
a0 | uintptr_t start |
a1 | uintptr_t end |
a2 | uintptr_t flags |
a0 | the return value |
Then run ecall to enter the kernel.
Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/riscv_flush_icache