syscall: nx_task_spawn should exist in the flat build just like the protected build

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2020-05-02 18:36:48 +08:00
committed by patacongo
parent 54d0256b9a
commit 31c60c3b0e
6 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -64,7 +64,7 @@
"mq_timedreceive","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","ssize_t","mqd_t","char*","size_t","FAR unsigned int*","const struct timespec*"
"mq_timedsend","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","int","mqd_t","const char*","size_t","unsigned int","const struct timespec*"
"mq_unlink","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","int","const char*"
"nx_task_spawn","nuttx/spawn.h","defined(CONFIG_BUILD_PROTECTED)","int","FAR const struct spawn_syscall_parms_s *"
"nx_task_spawn","nuttx/spawn.h","defined(CONFIG_LIB_SYSCALL) && !defined(CONFIG_BUILD_KERNEL)","int","FAR const struct spawn_syscall_parms_s *"
"nx_vsyslog","nuttx/syslog/syslog.h","","int","int","FAR const IPTR char*","FAR va_list*"
"on_exit","stdlib.h","defined(CONFIG_SCHED_ONEXIT)","int","CODE void (*)(int, FAR void *)","FAR void *"
"open","fcntl.h","","int","const char*","int","..."
1 _exit unistd.h void int
64 mq_timedreceive mqueue.h !defined(CONFIG_DISABLE_MQUEUE) ssize_t mqd_t
65 mq_timedsend mqueue.h !defined(CONFIG_DISABLE_MQUEUE) int mqd_t
66 mq_unlink mqueue.h !defined(CONFIG_DISABLE_MQUEUE) int const char*
67 nx_task_spawn nuttx/spawn.h defined(CONFIG_BUILD_PROTECTED) defined(CONFIG_LIB_SYSCALL) && !defined(CONFIG_BUILD_KERNEL) int FAR const struct spawn_syscall_parms_s *
68 nx_vsyslog nuttx/syslog/syslog.h int int
69 on_exit stdlib.h defined(CONFIG_SCHED_ONEXIT) int CODE void (*)(int, FAR void *)
70 open fcntl.h int const char*
+1 -1
View File
@@ -83,7 +83,7 @@ SYSCALL_LOOKUP(sem_unlink, 1, STUB_sem_unlink)
#ifndef CONFIG_BUILD_KERNEL
SYSCALL_LOOKUP(task_create, 5, STUB_task_create)
#ifdef CONFIG_BUILD_PROTECTED
#ifdef CONFIG_LIB_SYSCALL
SYSCALL_LOOKUP(nx_task_spawn, 1, STUB_nx_task_spawn)
#endif
#else