nuttx/syscall: export nxsem_getprioceiling and nxsem_setprioceiling via syscall

Signed-off-by: makejian <makejian@xiaomi.com>
This commit is contained in:
makejian
2024-10-08 20:42:35 +08:00
committed by Xiang Xiao
parent ca45ad69bd
commit e8a890ef42
3 changed files with 8 additions and 1 deletions
+5
View File
@@ -88,6 +88,11 @@ SYSCALL_LOOKUP(nxsem_wait, 1)
SYSCALL_LOOKUP(nxsem_set_protocol, 2)
#endif
#ifdef CONFIG_PRIORITY_PROTECT
SYSCALL_LOOKUP(nxsem_setprioceiling, 3)
SYSCALL_LOOKUP(nxsem_getprioceiling, 2)
#endif
/* Named semaphores */
#ifdef CONFIG_FS_NAMED_SEMAPHORES