mq_notify on metag
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 metag |
| entry point | sys_mq_notify |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | mq_notify(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 184, the syscall number |
D1Ar1 | mqd_t mqdes |
D0Ar2 | const struct sigevent *notification |
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 244
- x86 281
- arm64 184
- arm 278
- riscv64 184
- ia32 281
- x32 1073742351
- loongarch64 184
- 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
- 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/metag/mq_notify?kernel=all