mq_notify on loongarch64

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 loongarch64
entry pointsys_mq_notify
sinceLinux 5.19 or earlier (5.19 is the first release scanned for loongarch64)
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 syscall 0 to enter the kernel.

Same syscall on other architectures

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