syscall.sh / microblaze / init_module
init_module
load a kernel module
sys_init_module(void *umod, unsigned long len, const char *uargs)
| number | 128 (0x80) |
|---|---|
| abi | common |
| entry point | sys_init_module |
| since | Linux 5.0 |
| man page | init_module(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r12 | 128, the syscall number |
r5 | void *umod |
r6 | unsigned long len |
r7 | const char *uargs |
r3 | the return value |
Then run brki r14,8 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
- nios2 105
- openrisc 105
- parisc 128
- sh 128
- sparc 190
- sparc64 190
- xtensa 210
Get this as JSON: https://api.syscall.sh/v2/syscalls/microblaze/init_module