syscall.sh / ppc / 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)
number268 (0x10c)
abinospu
entry pointsys_kexec_load
sinceLinux 5.0
man pagekexec_load(2)
sourceelixir.bootlin.com

Registers

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

Then run sc to enter the kernel.

Same syscall on other architectures

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