syscall.sh / riscv64 / init_module

init_module

load a kernel module

sys_init_module(void *umod, unsigned long len, const char *uargs)
number105 (0x69)
abicommon
entry pointsys_init_module
sinceLinux 4.15
man pageinit_module(2)
sourceelixir.bootlin.com

Registers

registervalue
a7105, the syscall number
a0void *umod
a1unsigned long len
a2const char *uargs
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

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