syscall.sh / s390x / 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)
number277 (0x115)
abicommon
entry pointsys_kexec_load
sinceLinux 4.16
man pagekexec_load(2)
sourceelixir.bootlin.com

Registers

registervalue
r1277, the syscall number
r2unsigned long entry
r3unsigned long nr_segments
r4struct kexec_segment *segments
r5unsigned long flags
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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