syscall.sh / arm / 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)
number347 (0x15b)
abicommon
entry pointsys_kexec_load
sinceLinux 4.10
man pagekexec_load(2)
sourceelixir.bootlin.com

Registers

registervalue
r7347, the syscall number
r0unsigned long entry
r1unsigned long nr_segments
r2struct kexec_segment *segments
r3unsigned long flags
r0the 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/arm/kexec_load