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

Registers

registervalue
g1306, the syscall number
o0unsigned long entry
o1unsigned long nr_segments
o2struct kexec_segment *segments
o3unsigned long flags
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

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