mq_notify on loongarch64
register for notification when a message is available
sys_mq_notify(mqd_t mqdes, const struct sigevent *notification)
| number | 184 (0xb8) |
|---|---|
| abi | common |
| kconfig | CONFIG_POSIX_MQUEUE |
| family | mqueue see the whole family on loongarch64 |
| entry point | sys_mq_notify |
| since | Linux 5.19 or earlier (5.19 is the first release scanned for loongarch64) |
| man page | mq_notify(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a7 | 184, the syscall number |
a0 | mqd_t mqdes |
a1 | const struct sigevent *notification |
a0 | the return value |
Then run syscall 0 to enter the kernel.
Same syscall on other architectures
- x64 244
- x86 281
- arm64 184
- arm 278
- riscv64 184
- ia32 281
- x32 1073742351
- ppc64 266
- ppc 266
- s390x 275
- mips64 5234
- mipsn32 6238
- mipso32 4275
- alpha 436
- arc 184
- blackfin 282, removed in 4.17
- cris 281, removed in 4.17
- csky 184
- frv 281, removed in 4.17
- hexagon 184
- ia64 1266, removed in 6.7
- m32r 281, removed in 4.17
- m68k 275
- metag 184, removed in 4.17
- microblaze 281
- mn10300 281, removed in 4.17
- nds32 184, removed in 5.18
- nios2 184
- openrisc 184
- parisc 233
- score 184, removed in 4.17
- sh 281
- sparc 277
- sparc64 277
- tilegx 184, removed in 4.17
- tilepro 184, removed in 4.17
- xtensa 236
Get this as JSON: https://api.syscall.sh/v2/syscalls/loongarch64/mq_notify