mq_notify on riscv64

register for notification when a message is available

sys_mq_notify(mqd_t mqdes, const struct sigevent *notification)
number184 (0xb8)
abicommon
kconfigCONFIG_POSIX_MQUEUE
familymqueue see the whole family on riscv64
entry pointsys_mq_notify
sinceLinux 4.15 or earlier (4.15 is the first release scanned for riscv64)
man pagemq_notify(2)
sourceelixir.bootlin.com

Registers

registervalue
a7184, the syscall number
a0mqd_t mqdes
a1const struct sigevent *notification
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/mq_notify