diff --git a/include/sys/syscall_lookup.h b/include/sys/syscall_lookup.h index d51d43c422cf1..9d7f9c3c8de55 100644 --- a/include/sys/syscall_lookup.h +++ b/include/sys/syscall_lookup.h @@ -270,6 +270,10 @@ SYSCALL_LOOKUP(futimens, 2) SYSCALL_LOOKUP(nx_mkfifo, 3) #endif +#ifndef CONFIG_BUILD_FLAT + SYSCALL_LOOKUP(nxtask_exit_cleanup, 1) +#endif + #ifdef CONFIG_FILE_STREAM SYSCALL_LOOKUP(fs_fdopen, 4) SYSCALL_LOOKUP(nxsched_get_streams, 0) diff --git a/syscall/syscall.csv b/syscall/syscall.csv index 0f2115f32af2a..b9a280219e6c9 100644 --- a/syscall/syscall.csv +++ b/syscall/syscall.csv @@ -76,6 +76,7 @@ "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_get_streams","nuttx/sched.h","defined(CONFIG_FILE_STREAM)","FAR struct streamlist *" +"nxtask_exit_cleanup","nuttx/sched.h","","void","int" "open","fcntl.h","","int","FAR const char *","int","...","mode_t" "opendir","dirent.h","","FAR DIR *","FAR const char *" "pgalloc", "nuttx/arch.h", "defined(CONFIG_BUILD_KERNEL)", "uintptr_t", "uintptr_t", "unsigned int"