syscall.sh / loongarch64 / 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)
number104 (0x68)
abicommon
entry pointsys_kexec_load
sinceLinux 5.19
man pagekexec_load(2)
sourceelixir.bootlin.com

Registers

registervalue
a7104, the syscall number
a0unsigned long entry
a1unsigned long nr_segments
a2struct kexec_segment *segments
a3unsigned long flags
a0the return value

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

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