diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-01 21:36:17 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-01 21:36:17 +0000 |
commit | 0bdda764b71ffa94d9d624cc568c329f4440d94c (patch) | |
tree | b15eb9e4ae02ccea849ab223ecedc324aad8d6d6 /nuttx/syscall | |
parent | bd032945c6126523c1f4ea6eb8d6f74f8b5d9274 (diff) | |
download | px4-nuttx-0bdda764b71ffa94d9d624cc568c329f4440d94c.tar.gz px4-nuttx-0bdda764b71ffa94d9d624cc568c329f4440d94c.tar.bz2 px4-nuttx-0bdda764b71ffa94d9d624cc568c329f4440d94c.zip |
Stubs are working/Proxies are close
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3451 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/syscall')
-rw-r--r-- | nuttx/syscall/Makefile | 4 | ||||
-rw-r--r-- | nuttx/syscall/README.txt | 2 | ||||
-rw-r--r-- | nuttx/syscall/syscall.csv | 35 |
3 files changed, 20 insertions, 21 deletions
diff --git a/nuttx/syscall/Makefile b/nuttx/syscall/Makefile index a530b48ff..2e5433799 100644 --- a/nuttx/syscall/Makefile +++ b/nuttx/syscall/Makefile @@ -60,7 +60,7 @@ VPATH = proxies:stubs BIN1 = libproxies$(LIBEXT) BIN2 = libstubs$(LIBEXT) -all: $(BIN) +all: $(BIN1) $(BIN2) $(AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) @@ -88,7 +88,7 @@ depend: .depend $(MKSYSCALL): @$(MAKE) -C $(TOPDIR)/tools -f Makefile.host mksyscall -.context: $(MKSYSCALL) +.context: $(MKSYSCALL) syscall.csv @(cd proxies; $(MKSYSCALL) -p $(CSVFILE);) @(cd stubs; $(MKSYSCALL) -s $(CSVFILE);) @touch $@ diff --git a/nuttx/syscall/README.txt b/nuttx/syscall/README.txt index d4d0323ac..1f75b6cc9 100644 --- a/nuttx/syscall/README.txt +++ b/nuttx/syscall/README.txt @@ -11,7 +11,7 @@ and the application run in the same address space and at the same kernel- mode privileges. In order to exploit security features of certain
processors, an alternative build model is also supported: NuttX can
be built separately as a monolithic, kernel-mode module and the applications
-can be add as a separately built, user-mode module.
+can be added as a separately built, user-mode module.
The syscall layer provided in this directory serves as the communication
layer from the user-mode application into the kernel-mode RTOS. The
diff --git a/nuttx/syscall/syscall.csv b/nuttx/syscall/syscall.csv index 3dffa4ad4..76bea0489 100644 --- a/nuttx/syscall/syscall.csv +++ b/nuttx/syscall/syscall.csv @@ -1,7 +1,6 @@ "_exit","unistd.h","void","int" -"abort","stdlib.h","void" "accept","sys/socket.h","int","int","struct sockaddr*","socklen_t*" -"atexit","stdlib.h","int","void *(*)(void)" +"atexit","stdlib.h","int","void (*)(void)" "bind","sys/socket.h","int","int","FAR const struct sockaddr*","socklen_t" "clearenv","stdlib.h","int" "clock_getres","time.h","int","clockid_t","struct timespec*" @@ -18,7 +17,7 @@ "fstat","sys/stat.h","int","int","FAR struct stat*" "fstatfs","sys/statfs.h","int","int","struct statfs*" "fsync","unistd.h","int","int" -"get_environ_ptr","stdlib.h","FAR char**"," void " +"get_environ_ptr","stdlib.h","FAR char**" "get_errno_ptr","errno.h","FAR int*" "getenv","stdlib.h","FAR char*","FAR const char*" "getpid","unistd.h","pidt_t" @@ -27,9 +26,9 @@ "ioctl","sys/ioctl.h","int","int","int","unsigned long" "kill","signal.h","int","pid_t","int" "listen","sys/socket.h","int","int","int" -"lseek","unistd.h","off_t","int","off_t offset","int" -"mkdir","sys/stat.h","int","FAR const char*","mode_t mode" -"mkfifo","sys/stat.h","int","FAR const char*","mode_t mode" +"lseek","unistd.h","off_t","int","off_t","int" +"mkdir","sys/stat.h","int","FAR const char*","mode_t" +"mkfifo","sys/stat.h","int","FAR const char*","mode_t" "mmap","sys/mman.h","FAR void*","FAR void*","size_t","int","int","int","off_t" "mount","sys/mount.h","int","const char*","const char*","const char*","unsigned long","const void*" "mq_close","mqueue.h","int","mqd_t" @@ -39,12 +38,12 @@ "mq_receive","mqueue.h","ssize_t","mqd_t","void*","size_t","int*" "mq_send","mqueue.h","int","mqd_t","const void*","size_t","int" "mq_setattr","mqueue.h","int","mqd_t","const struct mq_attr*","struct mq_attr*" -"mq_timedreceive","mqueue.h","ssize_t","mqd_t","void*","size_t","int","const struct timespec*" -"mq_timedsend","mqueue.h","int","mqd_t","const char*","size_t","int prio","const struct timespec*" +"mq_timedreceive","mqueue.h","ssize_t","mqd_t","void*","size_t","int*","const struct timespec*" +"mq_timedsend","mqueue.h","int","mqd_t","const char*","size_t","int","const struct timespec*" "mq_unlink","mqueue.h","int","const char*" "open","fcntl.h","int","const char*","int","..." "opendir","dirent.h","FAR DIR*","FAR const char*" -"pipe","unistd.h","int","int[2]" +"pipe","unistd.h","int","int [2]|int*" "poll","poll.h","int","FAR struct pollfd*","nfds_t","int" "pthread_barrier_destroy","pthread.h","int","FAR pthread_barrier_t*" "pthread_barrier_init","pthread.h","int","FAR pthread_barrier_t*","FAR const pthread_barrierattr_t*","unsigned int" @@ -123,7 +122,7 @@ "sigpending","signal.h","int","FAR sigset_t*" "sigprocmask","signal.h","int","int","FAR const sigset_t*","FAR sigset_t*" "sigqueue","signal.h","int","int","int","FAR void*" -"sigqueue","signal.h","int","int","int","union sigval" +"sigqueue","signal.h","int","int","int","union sigval|FAR void *" "sigsuspend","signal.h","int","FAR const sigset_t*" "sigtimedwait","signal.h","int","FAR const sigset_t*","FAR struct siginfo*","FAR const struct timespec*" "sigwaitinfo","signal.h","int","FAR const sigset_t*","FAR struct siginfo*" @@ -134,11 +133,11 @@ "statfs","stdio.h","int","FAR const char*","FAR struct statfs*" "statfs","sys/statfs.h","int","const char*","struct statfs*" "task_activate","sched.h","int","FAR _TCB*" -"task_create","sched.h","int","const char*","int","int","main_t","const char*[]" -"task_create","sched.h","int","const char*","int","main_t","const char*[]" +"task_create","sched.h","int","const char*","int","int","main_t","const char* []|const char**" +#"task_create","sched.h","int","const char*","int","main_t","const char* []|const char**" "task_delete","sched.h","int","pid_t" -"task_init","sched.h","int","FAR _TCB*","const char*","int","FAR uint32_t*","uint32_t","main_t","const char*[]" -"task_init","sched.h","int","FAR _TCB*","const char*","int","main_t","const char*[]" +"task_init","sched.h","int","FAR _TCB*","const char*","int","FAR uint32_t*","uint32_t","main_t","const char* []|const char**" +#"task_init","sched.h","int","FAR _TCB*","const char*","int","main_t","const char* []|const char**" "task_restart","sched.h","int","pid_t" "telldir","dirent.h","off_t","FAR DIR*" "timer_create","time.h","int","clockid_t","FAR struct sigevent*","FAR timer_t*" @@ -150,11 +149,11 @@ "unlink","unistd.h","int","FAR const char*" "unsetenv","stdlib.h","int","const char*" "up_assert","assert.h","void","FAR const uint8_t*","int" -"up_assert","assert.h","void" +#"up_assert","assert.h","void" "up_assert_code","assert.h","void","FAR const uint8_t*","int","int" -"up_assert_code","assert.h","void","int" +#"up_assert_code","assert.h","void","int" "usleep","unistd.h","void","useconds_t" -"wait","sys/wait.h","pidt_t","int*" -"waitid","sys/wait.h","int","idtype_t","id_t id","siginfo_t*","int" +#"wait","sys/wait.h","pidt_t","int*" +#"waitid","sys/wait.h","int","idtype_t","id_t id","siginfo_t*","int" "waitpid","sys/wait.h","pidt_t","pid_t","int*","int" "write","unistd.h","ssize_t","int","FAR const void*","size_t" |