kexec_load on ia32

load a new kernel for later execution

compat_sys_kexec_load(unsigned long entry, unsigned long nr_segments, struct kexec_segment *segments, unsigned long flags)
number283 (0x11b)
abii386
kconfigCONFIG_KEXEC
entry pointcompat_sys_kexec_load
sinceLinux 3.3 or earlier (3.3 is the first release scanned for ia32)
man pagekexec_load(2)
sourceelixir.bootlin.com

Registers

registervalue
eax283, the syscall number
ebxunsigned long entry
ecxunsigned long nr_segments
edxstruct kexec_segment *segments
esiunsigned long flags
eaxthe return value

Then run int 0x80 to enter the kernel.

This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.

Same syscall on other architectures

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