syscall.sh / openrisc / kexec_load

kexec_load

load a new kernel for later execution

sys_kexec_load(unsigned long entry, unsigned long nr_segments, struct kexec_segment *segments, unsigned long flags)
number104 (0x68)
abicommon
entry pointsys_kexec_load
sinceLinux 3.7
man pagekexec_load(2)
sourceelixir.bootlin.com

Registers

registervalue
r11104, the syscall number
r3unsigned long entry
r4unsigned long nr_segments
r5struct kexec_segment *segments
r6unsigned long flags
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/openrisc/kexec_load