diff options
Diffstat (limited to 'nuttx/syscall')
-rw-r--r-- | nuttx/syscall/stub_lookup.c | 1 | ||||
-rw-r--r-- | nuttx/syscall/stub_lookup.h | 1 | ||||
-rw-r--r-- | nuttx/syscall/syscall.csv | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/syscall/stub_lookup.c b/nuttx/syscall/stub_lookup.c index 8743e2fda..e46127b14 100644 --- a/nuttx/syscall/stub_lookup.c +++ b/nuttx/syscall/stub_lookup.c @@ -107,6 +107,7 @@ extern uintptr_t STUB_usleep(uintptr_t parm1); * NuttX configuration. */ +extern uintptr_t STUB_os_systime32(void); extern uintptr_t STUB_clock_getres(uintptr_t parm1, uintptr_t parm2); extern uintptr_t STUB_clock_gettime(uintptr_t parm1, uintptr_t parm2); extern uintptr_t STUB_clock_settime(uintptr_t parm1, uintptr_t parm2); diff --git a/nuttx/syscall/stub_lookup.h b/nuttx/syscall/stub_lookup.h index 31b4c755d..9a56d0d41 100644 --- a/nuttx/syscall/stub_lookup.h +++ b/nuttx/syscall/stub_lookup.h @@ -102,6 +102,7 @@ STUB_LOOKUP(3, STUB_up_assert_code) /* SYS_up_assert_code */ */ #ifndef CONFIG_DISABLE_CLOCK + STUB_LOOKUP(0, STUB_os_systime32) /* SYS_os_systime32 */ STUB_LOOKUP(2, STUB_clock_getres) /* SYS_clock_getres */ STUB_LOOKUP(2, STUB_clock_gettime) /* SYS_clock_gettime */ STUB_LOOKUP(2, STUB_clock_settime) /* SYS_clock_settime */ diff --git a/nuttx/syscall/syscall.csv b/nuttx/syscall/syscall.csv index 2510f87d8..a6db07397 100644 --- a/nuttx/syscall/syscall.csv +++ b/nuttx/syscall/syscall.csv @@ -39,6 +39,7 @@ "open","fcntl.h","CONFIG_NFILE_DESCRIPTORS > 0","int","const char*","int","..." "opendir","dirent.h","CONFIG_NFILE_DESCRIPTORS > 0","FAR DIR*","FAR const char*" "pipe","unistd.h","CONFIG_NFILE_DESCRIPTORS > 0","int","int [2]|int*" +"os_systime32","nuttx/clock.h","!defined(CONFIG_DISABLE_CLOCK)","uint32_t" "poll","poll.h","!defined(CONFIG_DISABLE_POLL) && (CONFIG_NSOCKET_DESCRIPTORS > 0 || CONFIG_NFILE_DESCRIPTORS > 0)","int","FAR struct pollfd*","nfds_t","int" "pthread_barrier_destroy","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_barrier_t*" "pthread_barrier_init","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_barrier_t*","FAR const pthread_barrierattr_t*","unsigned int" |