boardctl(): Add a new non-standard OS interface. This is similar to a driver IOCTL call. But this is an IOCTL call directly on the board logic. This function will eventually replace all of the ad hoc OS interfaces that are current used to perform application specific intialiation and application driver test confifuration. It essentially formalizes and institutionalizes these rogue interface in to at least a single crazy call.

This commit is contained in:
Gregory Nutt
2015-03-31 11:25:52 -06:00
parent cf77f8f28f
commit b4b40d338a
15 changed files with 395 additions and 4 deletions
+1
View File
@@ -6,6 +6,7 @@
"accept","sys/socket.h","CONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)","int","int","struct sockaddr*","socklen_t*"
"atexit","stdlib.h","defined(CONFIG_SCHED_ATEXIT)","int","void (*)(void)"
"bind","sys/socket.h","CONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)","int","int","FAR const struct sockaddr*","socklen_t"
"boardctl","sys/boardctl.h","defined(CONFIG_LIB_BOARDCTL)","int","unsigned int","uintptr_t"
"clearenv","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","int"
"clock_getres","time.h","","int","clockid_t","struct timespec*"
"clock_gettime","time.h","","int","clockid_t","struct timespec*"
1 _exit unistd.h void int
6 accept sys/socket.h CONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET) int int
7 atexit stdlib.h defined(CONFIG_SCHED_ATEXIT) int void (*)(void)
8 bind sys/socket.h CONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET) int int
9 boardctl sys/boardctl.h defined(CONFIG_LIB_BOARDCTL) int unsigned int
10 clearenv stdlib.h !defined(CONFIG_DISABLE_ENVIRON) int
11 clock_getres time.h int clockid_t
12 clock_gettime time.h int clockid_t