diff --git a/include/sys/syscall_lookup.h b/include/sys/syscall_lookup.h index 0f45083d9cda6..fa6aa71840b28 100644 --- a/include/sys/syscall_lookup.h +++ b/include/sys/syscall_lookup.h @@ -43,7 +43,10 @@ SYSCALL_LOOKUP(sched_setparam, 2) SYSCALL_LOOKUP(sched_setscheduler, 3) SYSCALL_LOOKUP(sched_unlock, 0) SYSCALL_LOOKUP(sched_yield, 0) + SYSCALL_LOOKUP(nxsched_get_stackinfo, 2) +SYSCALL_LOOKUP(nxsched_self, 0) +SYSCALL_LOOKUP(nxsched_get_tcb, 1) #ifdef CONFIG_SCHED_BACKTRACE SYSCALL_LOOKUP(sched_backtrace, 4) diff --git a/syscall/syscall.csv b/syscall/syscall.csv index 2c4797fb098e8..f036f58e6c21a 100644 --- a/syscall/syscall.csv +++ b/syscall/syscall.csv @@ -84,6 +84,8 @@ "nx_pthread_exit","nuttx/pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","noreturn","pthread_addr_t" "nx_vsyslog","nuttx/syslog/syslog.h","","int","int","FAR const IPTR char *","FAR va_list *" "nxsched_get_stackinfo","nuttx/sched.h","","int","pid_t","FAR struct stackinfo_s *" +"nxsched_self","nuttx/sched.h","","FAR struct tcb_s *" +"nxsched_get_tcb","nuttx/sched.h","","FAR struct tcb_s *","pid_t" "nxsem_clockwait","nuttx/semaphore.h","","int","FAR sem_t *","clockid_t","FAR const struct timespec *" "nxsem_close","nuttx/semaphore.h","defined(CONFIG_FS_NAMED_SEMAPHORES)","int","FAR sem_t *" "nxsem_destroy","nuttx/semaphore.h","","int","FAR sem_t *"