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)
number259 (0x103)
abiriscv
entry pointsys_riscv_flush_icache
sinceLinux 4.15
man pageriscv_flush_icache(2)
sourceelixir.bootlin.com

Registers

registervalue
a7259, the syscall number
a0uintptr_t start
a1uintptr_t end
a2uintptr_t flags
a0the return value

Then run ecall to enter the kernel.

Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/riscv_flush_icache