syscall.sh / x32 / kexec_load
kexec_load
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)
| number | 1073742352 (0x40000210) |
|---|---|
| abi | x32 |
| entry point | compat_sys_kexec_load |
| since | Linux 3.4 |
| man page | kexec_load(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073742352, the syscall number |
rdi | unsigned long entry |
rsi | unsigned long nr_segments |
rdx | struct kexec_segment *segments |
r10 | unsigned long flags |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 246
- x86 283
- arm64 104
- arm 347
- riscv64 104
- loongarch64 104
- ppc64 268
- ppc 268
- s390x 277
- mips64 5270
- mipsn32 6274
- mipso32 4311
- alpha 448
- arc 104
- csky 104
- hexagon 104
- m68k 313
- microblaze 283
- nios2 104
- openrisc 104
- parisc 300
- sh 283
- sparc 306
- sparc64 306
Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/kexec_load