finit_module on loongarch64
load a kernel module
sys_finit_module(int fd, const char *uargs, int flags)
| number | 273 (0x111) |
|---|---|
| abi | common |
| entry point | sys_finit_module |
| since | Linux 5.19 or earlier (5.19 is the first release scanned for loongarch64) |
| man page | finit_module(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a7 | 273, the syscall number |
a0 | int fd |
a1 | const char *uargs |
a2 | int flags |
a0 | the return value |
Then run syscall 0 to enter the kernel.
Same syscall on other architectures
- x64 313
- x86 350
- arm64 273
- arm 379
- riscv64 273
- ia32 350
- x32 1073742137
- ppc64 353
- ppc 353
- s390x 344
- mips64 5307
- mipsn32 6312
- mipso32 4348
- alpha 507
- arc 273
- blackfin 384, removed in 4.17
- cris 351, removed in 4.17
- csky 273
- hexagon 273
- ia64 1335, removed in 6.7
- m68k 348
- metag 273, removed in 4.17
- microblaze 380
- nds32 273, removed in 5.18
- nios2 273
- openrisc 273
- parisc 333
- score 273, removed in 4.17
- sh 368
- sparc 342
- sparc64 342
- tilegx 273, removed in 4.17
- tilepro 273, removed in 4.17
- xtensa 332
Get this as JSON: https://api.syscall.sh/v2/syscalls/loongarch64/finit_module