syscall.sh / mipsn32 / 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 | 6274 (0x1882) |
|---|---|
| abi | n32 |
| entry point | compat_sys_kexec_load |
| since | Linux 5.0 |
| man page | kexec_load(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 6274, the syscall number |
a0 | unsigned long entry |
a1 | unsigned long nr_segments |
a2 | struct kexec_segment *segments |
a3 | unsigned long flags |
v0 | 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
- x32 1073742352
- loongarch64 104
- ppc64 268
- ppc 268
- s390x 277
- mips64 5270
- 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/mipsn32/kexec_load