mirror of
https://github.com/apache/nuttx.git
synced 2026-08-12 16:06:51 +00:00
task_spawn() and posix_spawn() are NuttX OS interfaces. In PROTECTED and KERNEL build modes, then can be reached from applications only via a system call. Currently, the number of parameters in a system call is limited to six; these spawn function have seven parameters. Rather than extend the maximum number of parameters across all architectures, I opted instead to marshal the seven parameters into a structure.
*
In order to support builtin in function in protected mode, a task_spawn() system call must be supported. Unfortunately this is overly complex because there is a (soft) limit of 6 parameters in a system call; task_spawn has seven paramters. This is a soft limit but still difficult to extend because it involves assembly language changes to numerous architectures. Better to get more creative.
|
||
|---|---|---|
| .. | ||
| boardctl.h | ||
| custom_file.h | ||
| epoll.h | ||
| ioctl.h | ||
| ipc.h | ||
| mman.h | ||
| mount.h | ||
| param.h | ||
| prctl.h | ||
| random.h | ||
| resource.h | ||
| select.h | ||
| sendfile.h | ||
| shm.h | ||
| socket.h | ||
| sockio.h | ||
| stat.h | ||
| statfs.h | ||
| syscall.h | ||
| time.h | ||
| types.h | ||
| uio.h | ||
| un.h | ||
| utsname.h | ||
| vfs.h | ||
| wait.h | ||