syscall.sh / arm64 / 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
x8104, the syscall number
x0unsigned long entry
x1unsigned long nr_segments
x2struct kexec_segment *segments
x3unsigned long flags
x0the 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/arm64/kexec_load