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

Registers

registervalue
r12283, the syscall number
r5unsigned long entry
r6unsigned long nr_segments
r7struct kexec_segment *segments
r8unsigned long flags
r3the return value

Then run brki r14,8 to enter the kernel.

Same syscall on other architectures

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