syscall.sh / xtensa / init_module
init_module
load a kernel module
sys_init_module(void *umod, unsigned long len, const char *uargs)
| number | 210 (0xd2) |
|---|---|
| abi | common |
| entry point | sys_init_module |
| since | Linux 5.0 |
| man page | init_module(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a2 | 210, the syscall number |
a6 | void *umod |
a3 | unsigned long len |
a4 | const char *uargs |
a2 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 175
- x86 128
- arm64 105
- arm 128
- riscv64 105
- x32 1073741999
- loongarch64 105
- ppc64 128
- ppc 128
- s390x 128
- mips64 5168
- mipsn32 6168
- mipso32 4128
- alpha 307
- arc 105
- csky 105
- hexagon 105
- m68k 128
- microblaze 128
- nios2 105
- openrisc 105
- parisc 128
- sh 128
- sparc 190
- sparc64 190
Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/init_module