syscall.sh / m68k / 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)
number313 (0x139)
abicommon
entry pointsys_kexec_load
sinceLinux 5.0
man pagekexec_load(2)
sourceelixir.bootlin.com

Registers

registervalue
d0313, the syscall number
d1unsigned long entry
d2unsigned long nr_segments
d3struct kexec_segment *segments
d4unsigned long flags
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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