init_module on metag
load a kernel module
sys_init_module(void *umod, unsigned long len, const char *uargs)
| number | 105 (0x69) |
|---|---|
| abi | common |
| entry point | sys_init_module |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | init_module(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 105, the syscall number |
D1Ar1 | void *umod |
D0Ar2 | unsigned long len |
D1Ar3 | const char *uargs |
D0Re0 | the return value |
Then run SWITCH #0x440001 to enter the kernel.
Values wider than one register are packed into consecutive arguments.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 175
- x86 128
- arm64 105
- arm 128
- riscv64 105
- ia32 128
- x32 1073741999
- loongarch64 105
- ppc64 128
- ppc 128
- s390x 128
- mips64 5168
- mipsn32 6168
- mipso32 4128
- alpha 307
- arc 105
- blackfin 128, removed in 4.17
- cris 128, removed in 4.17
- csky 105
- frv 128, removed in 4.17
- hexagon 105
- ia64 1133, removed in 6.7
- m32r 128, removed in 4.17
- m68k 128
- microblaze 128
- mn10300 128, removed in 4.17
- nds32 105, removed in 5.18
- nios2 105
- openrisc 105
- parisc 128
- score 105, removed in 4.17
- sh 128
- sparc 190
- sparc64 190
- tilegx 105, removed in 4.17
- tilepro 105, removed in 4.17
- xtensa 210
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/init_module?kernel=all