Module: xenomai-3
Branch: master
Commit: 34071842e3461a5d33a63a21c097e3430f2943d0
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=34071842e3461a5d33a63a21c097e3430f2943d0

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sat Feb 14 11:55:23 2015 +0100

cobalt: finalize the core control interface

The former sysconf and sysctl services are merged into the new core
control interface (corectl).

In addition to the pre-existing configuration retrieval requests, the
core "stop", "start" and "status" actions are available. Those
requests can be issued by the new corectl utility, for shutting down,
(re-)starting, and getting the current status of the real-time
services respectively.

RTDM drivers can define state management operation handlers, for being
notified of transitions from running to stopped state, and conversely
(see rtdm_driver.smops).

---

 configure                                          |    3 +-
 configure.ac                                       |    1 +
 doc/asciidoc/Makefile.am                           |    2 +
 doc/asciidoc/Makefile.in                           |    2 +
 doc/asciidoc/man1/corectl.adoc                     |  106 ++
 doc/prebuilt/html/MIGRATION/index.html             |    2 +-
 doc/prebuilt/html/README.APPLICATIONS/index.html   |    2 +-
 doc/prebuilt/html/README.INSTALL/index.html        |    2 +-
 .../html/TROUBLESHOOTING.COBALT/index.html         |    2 +-
 .../html/TROUBLESHOOTING.MERCURY/index.html        |    2 +-
 doc/prebuilt/html/man1/corectl/index.html          |  917 +++++++++++
 .../html/xeno3prm/16550A__pci_8h_source.html       |    2 +-
 doc/prebuilt/html/xeno3prm/analogy_2driver_8h.html |    2 +-
 .../html/xeno3prm/analogy_2driver_8h__incl.map     |   59 +-
 .../html/xeno3prm/analogy_2driver_8h__incl.md5     |    2 +-
 .../html/xeno3prm/analogy_2driver_8h__incl.png     |  Bin 338951 -> 343296 
bytes
 doc/prebuilt/html/xeno3prm/annotated.html          |   37 +-
 doc/prebuilt/html/xeno3prm/annotated.js            |    1 +
 doc/prebuilt/html/xeno3prm/classes.html            |   34 +-
 .../html/xeno3prm/cobalt-rtdm_8h_source.html       |   14 +-
 .../xeno3prm/cobalt_2kernel_2rtdm_2udd_8h.html     |    2 +-
 .../cobalt_2kernel_2rtdm_2udd_8h__incl.map         |   65 +-
 .../cobalt_2kernel_2rtdm_2udd_8h__incl.md5         |    2 +-
 .../cobalt_2kernel_2rtdm_2udd_8h__incl.png         |  Bin 397414 -> 361279 
bytes
 .../cobalt_2kernel_2rtdm_2udd_8h_source.html       |    4 +-
 .../html/xeno3prm/cobalt_2time_8h_source.html      |    2 +-
 doc/prebuilt/html/xeno3prm/context_8h.html         |    2 +-
 doc/prebuilt/html/xeno3prm/context_8h__incl.map    |   63 +-
 doc/prebuilt/html/xeno3prm/context_8h__incl.md5    |    2 +-
 doc/prebuilt/html/xeno3prm/context_8h__incl.png    |  Bin 418824 -> 368022 
bytes
 doc/prebuilt/html/xeno3prm/context_8h_source.html  |    2 +-
 doc/prebuilt/html/xeno3prm/corectl_8h_source.html  |  161 ++
 doc/prebuilt/html/xeno3prm/device_8h.html          |    2 +-
 doc/prebuilt/html/xeno3prm/device_8h__incl.map     |   59 +-
 doc/prebuilt/html/xeno3prm/device_8h__incl.md5     |    2 +-
 doc/prebuilt/html/xeno3prm/device_8h__incl.png     |  Bin 325720 -> 295785 
bytes
 doc/prebuilt/html/xeno3prm/device_8h_source.html   |    2 +-
 .../dir_58628a552b85da20a02d06bea81c5738.html      |    4 +-
 .../dir_58628a552b85da20a02d06bea81c5738.js        |    2 +-
 doc/prebuilt/html/xeno3prm/driver_8h.html          |    7 +-
 doc/prebuilt/html/xeno3prm/driver_8h.js            |    1 +
 doc/prebuilt/html/xeno3prm/driver_8h__incl.map     |   61 +-
 doc/prebuilt/html/xeno3prm/driver_8h__incl.md5     |    2 +-
 doc/prebuilt/html/xeno3prm/driver_8h__incl.png     |  Bin 409411 -> 387542 
bytes
 doc/prebuilt/html/xeno3prm/driver_8h_source.html   | 1648 ++++++++++----------
 .../html/xeno3prm/e1000_2e1000_8h_source.html      |    2 +-
 .../html/xeno3prm/e1000e_2e1000_8h_source.html     |    2 +-
 .../experimental_2e1000_2e1000_8h_source.html      |    2 +-
 .../html/xeno3prm/extension_8h_source.html         |    2 +-
 doc/prebuilt/html/xeno3prm/files.html              |   16 +-
 doc/prebuilt/html/xeno3prm/functions_s.html        |    9 +
 doc/prebuilt/html/xeno3prm/functions_vars_s.html   |    9 +
 .../html/xeno3prm/group__cobalt__api__sched.html   |    4 +-
 .../html/xeno3prm/group__cobalt__core__irq.html    |    4 +-
 .../html/xeno3prm/group__cobalt__core__sched.html  |    2 +-
 .../html/xeno3prm/group__cobalt__core__thread.html |   11 +-
 .../html/xeno3prm/group__cobalt__core__timer.html  |   60 +-
 .../html/xeno3prm/group__cobalt__core__timer.js    |    4 +-
 doc/prebuilt/html/xeno3prm/igb_8h_source.html      |    2 +-
 .../include_2cobalt_2kernel_2init_8h_source.html   |   42 +-
 ..._2cobalt_2kernel_2rtdm_2analogy_2buffer_8h.html |    2 +-
 ...alt_2kernel_2rtdm_2analogy_2buffer_8h__incl.map |   59 +-
 ...alt_2kernel_2rtdm_2analogy_2buffer_8h__incl.md5 |    2 +-
 ...alt_2kernel_2rtdm_2analogy_2buffer_8h__incl.png |  Bin 303344 -> 295399 
bytes
 ...t_2kernel_2rtdm_2analogy_2buffer_8h_source.html |    4 +-
 .../include_2cobalt_2kernel_2sched_8h_source.html  |  993 ++++++------
 .../include_2cobalt_2kernel_2thread_8h_source.html |   38 +-
 .../include_2cobalt_2kernel_2timer_8h_source.html  |    8 +-
 .../include_2cobalt_2mqueue_8h_source.html         |    2 +-
 .../xeno3prm/include_2cobalt_2sched_8h_source.html |    2 +-
 ...alt_2uapi_2asm-generic_2features_8h_source.html |   83 +-
 .../include_2cobalt_2uapi_2syscall_8h_source.html  |   11 +-
 doc/prebuilt/html/xeno3prm/io_8h_source.html       |   30 +-
 ..._2include_2asm_2xenomai_2syscall_8h_source.html |   23 +-
 ...de_2asm_2xenomai_2uapi_2features_8h_source.html |    2 +-
 ..._2include_2asm_2xenomai_2syscall_8h_source.html |   23 +-
 ...de_2asm_2xenomai_2uapi_2features_8h_source.html |    2 +-
 ..._2include_2asm_2xenomai_2syscall_8h_source.html |   23 +-
 ...de_2asm_2xenomai_2uapi_2features_8h_source.html |    2 +-
 ..._2include_2asm_2xenomai_2syscall_8h_source.html |   47 +-
 ...de_2asm_2xenomai_2uapi_2features_8h_source.html |    2 +-
 ..._2include_2asm_2xenomai_2syscall_8h_source.html |   19 +-
 ...de_2asm_2xenomai_2uapi_2features_8h_source.html |    2 +-
 ..._2include_2asm_2xenomai_2syscall_8h_source.html |   31 +-
 ...6_2include_2asm_2xenomai_2thread_8h_source.html |   81 +-
 ...de_2asm_2xenomai_2uapi_2features_8h_source.html |    2 +-
 .../kernel_2cobalt_2posix_2clock_8h_source.html    |   43 +-
 .../kernel_2cobalt_2posix_2cond_8h_source.html     |   20 +-
 .../kernel_2cobalt_2posix_2event_8h_source.html    |   28 +-
 .../kernel_2cobalt_2posix_2monitor_8h_source.html  |   20 +-
 .../kernel_2cobalt_2posix_2mqueue_8h_source.html   |   52 +-
 .../kernel_2cobalt_2posix_2mutex_8h_source.html    |   18 +-
 .../kernel_2cobalt_2posix_2sched_8h_source.html    |   53 +-
 .../kernel_2cobalt_2posix_2sem_8h_source.html      |   38 +-
 .../kernel_2cobalt_2posix_2signal_8h_source.html   |   46 +-
 .../kernel_2cobalt_2posix_2syscall_8h_source.html  |    8 +-
 .../kernel_2cobalt_2posix_2thread_8h_source.html   |  121 +-
 .../kernel_2cobalt_2posix_2timer_8h_source.html    |   22 +-
 .../kernel_2cobalt_2posix_2timerfd_8h_source.html  |   10 +-
 .../kernel_2cobalt_2rtdm_2internal_8h_source.html  |    2 +-
 .../kernel_2drivers_2ipc_2internal_8h_source.html  |    2 +-
 doc/prebuilt/html/xeno3prm/mite_8h_source.html     |    2 +-
 doc/prebuilt/html/xeno3prm/navtree.js              |   16 +-
 doc/prebuilt/html/xeno3prm/navtreeindex0.js        |   16 +-
 doc/prebuilt/html/xeno3prm/navtreeindex1.js        |    8 +-
 doc/prebuilt/html/xeno3prm/navtreeindex2.js        |   42 +-
 doc/prebuilt/html/xeno3prm/navtreeindex3.js        |    8 +-
 doc/prebuilt/html/xeno3prm/navtreeindex4.js        |   64 +-
 doc/prebuilt/html/xeno3prm/navtreeindex5.js        |  136 +-
 doc/prebuilt/html/xeno3prm/navtreeindex6.js        |   56 +-
 doc/prebuilt/html/xeno3prm/navtreeindex7.js        |    4 +-
 doc/prebuilt/html/xeno3prm/navtreeindex8.js        |   58 +-
 doc/prebuilt/html/xeno3prm/navtreeindex9.js        |    6 +-
 doc/prebuilt/html/xeno3prm/ni__tio_8h_source.html  |    2 +-
 doc/prebuilt/html/xeno3prm/nomac_8h_source.html    |    4 +-
 .../html/xeno3prm/nomac__dev_8h_source.html        |    2 +-
 .../html/xeno3prm/rt2500pci_8h_source.html         |    2 +-
 .../html/xeno3prm/rt__at91__ether_8h_source.html   |    2 +-
 .../html/xeno3prm/rt__eth1394_8h_source.html       |    2 +-
 doc/prebuilt/html/xeno3prm/rt__macb_8h_source.html |    2 +-
 .../html/xeno3prm/rt__mpc52xx__fec_8h_source.html  |    2 +-
 .../html/xeno3prm/rtcan__dev_8h_source.html        |    4 +-
 .../html/xeno3prm/rtcan__list_8h_source.html       |    2 +-
 .../html/xeno3prm/rtcan__socket_8h_source.html     |    4 +-
 .../html/xeno3prm/rtcfg__event_8h_source.html      |    2 +-
 doc/prebuilt/html/xeno3prm/rtdev_8h_source.html    |    2 +-
 doc/prebuilt/html/xeno3prm/rtdm__helpers_8h.html   |    2 +-
 .../html/xeno3prm/rtdm__helpers_8h__incl.map       |   60 +-
 .../html/xeno3prm/rtdm__helpers_8h__incl.md5       |    2 +-
 .../html/xeno3prm/rtdm__helpers_8h__incl.png       |  Bin 430863 -> 406575 
bytes
 .../html/xeno3prm/rtnet__socket_8h_source.html     |    6 +-
 doc/prebuilt/html/xeno3prm/rtskb_8h_source.html    |    8 +-
 .../html/xeno3prm/rtskb__fifo_8h_source.html       |   12 +-
 doc/prebuilt/html/xeno3prm/search/search.idx       |  Bin 1356840 -> 1358862 
bytes
 .../html/xeno3prm/structrtdm__dev__context.html    |    2 +-
 .../structrtdm__dev__context__coll__graph.map      |    7 +-
 .../structrtdm__dev__context__coll__graph.md5      |    2 +-
 .../structrtdm__dev__context__coll__graph.png      |  Bin 13553 -> 15331 bytes
 doc/prebuilt/html/xeno3prm/structrtdm__device.html |    2 +-
 .../xeno3prm/structrtdm__device__coll__graph.map   |    5 +-
 .../xeno3prm/structrtdm__device__coll__graph.md5   |    2 +-
 .../xeno3prm/structrtdm__device__coll__graph.png   |  Bin 10982 -> 12686 bytes
 doc/prebuilt/html/xeno3prm/structrtdm__driver.html |    6 +-
 doc/prebuilt/html/xeno3prm/structrtdm__driver.js   |    1 +
 .../xeno3prm/structrtdm__driver__coll__graph.map   |    1 +
 .../xeno3prm/structrtdm__driver__coll__graph.md5   |    2 +-
 .../xeno3prm/structrtdm__driver__coll__graph.png   |  Bin 5772 -> 7067 bytes
 .../html/xeno3prm/structrtdm__sm__ops.html         |  130 ++
 doc/prebuilt/html/xeno3prm/structrtdm__sm__ops.js  |    5 +
 doc/prebuilt/html/xeno3prm/structudd__device.html  |    2 +-
 .../structudd__device_1_1udd__reserved.html        |    2 +-
 ...ctudd__device_1_1udd__reserved__coll__graph.map |    9 +-
 ...ctudd__device_1_1udd__reserved__coll__graph.md5 |    2 +-
 ...ctudd__device_1_1udd__reserved__coll__graph.png |  Bin 25124 -> 26709 bytes
 .../xeno3prm/structudd__device__coll__graph.map    |   13 +-
 .../xeno3prm/structudd__device__coll__graph.md5    |    2 +-
 .../xeno3prm/structudd__device__coll__graph.png    |  Bin 27663 -> 28883 bytes
 doc/prebuilt/html/xeno3prm/structxnsched.html      |    4 +-
 doc/prebuilt/html/xeno3prm/subdevice_8h.html       |    2 +-
 doc/prebuilt/html/xeno3prm/subdevice_8h__incl.map  |   54 +-
 doc/prebuilt/html/xeno3prm/subdevice_8h__incl.md5  |    2 +-
 doc/prebuilt/html/xeno3prm/subdevice_8h__incl.png  |  Bin 377687 -> 392254 
bytes
 .../html/xeno3prm/sys_2cobalt_8h_source.html       |   20 +-
 doc/prebuilt/html/xeno3prm/tdma_8h_source.html     |    6 +-
 .../html/xeno3prm/tdma__dev_8h_source.html         |    2 +-
 .../html/xeno3prm/threadobj_8h_source.html         |    2 +-
 doc/prebuilt/html/xeno3prm/transfer_8h.html        |    2 +-
 doc/prebuilt/html/xeno3prm/transfer_8h__incl.map   |   59 +-
 doc/prebuilt/html/xeno3prm/transfer_8h__incl.md5   |    2 +-
 doc/prebuilt/html/xeno3prm/transfer_8h__incl.png   |  Bin 263659 -> 288962 
bytes
 doc/prebuilt/html/xeno3prm/tulip_8h_source.html    |    2 +-
 doc/prebuilt/man/man1/corectl.1                    |  212 +++
 doc/prebuilt/man/man1/dohell.1                     |    4 +-
 doc/prebuilt/man/man1/xeno-test.1                  |    4 +-
 doc/prebuilt/pdf/MIGRATION.pdf                     |  Bin 221432 -> 221432 
bytes
 doc/prebuilt/pdf/README.APPLICATIONS.pdf           |  Bin 87116 -> 87116 bytes
 doc/prebuilt/pdf/README.INSTALL.pdf                |  Bin 175323 -> 175323 
bytes
 doc/prebuilt/pdf/TROUBLESHOOTING.COBALT.pdf        |  Bin 139168 -> 139168 
bytes
 doc/prebuilt/pdf/TROUBLESHOOTING.MERCURY.pdf       |  Bin 37717 -> 37717 bytes
 doc/prebuilt/pdf/xeno3prm.pdf                      |  Bin 2080448 -> 2082006 
bytes
 include/cobalt/kernel/init.h                       |   29 +-
 include/cobalt/kernel/rtdm/driver.h                |   16 +
 include/cobalt/kernel/sched.h                      |    3 +
 include/cobalt/kernel/thread.h                     |    2 +
 include/cobalt/kernel/timer.h                      |    4 +-
 include/cobalt/sys/cobalt.h                        |    6 +-
 include/cobalt/uapi/Makefile.am                    |    2 +-
 include/cobalt/uapi/Makefile.in                    |    2 +-
 include/cobalt/uapi/asm-generic/features.h         |    9 +-
 include/cobalt/uapi/corectl.h                      |   53 +
 include/cobalt/uapi/syscall.h                      |    3 +-
 include/cobalt/uapi/sysconf.h                      |   40 -
 kernel/cobalt/init.c                               |  176 +--
 kernel/cobalt/posix/syscall.c                      |  174 ++-
 kernel/cobalt/rtdm/device.c                        |   41 +
 kernel/cobalt/sched.c                              |    1 +
 kernel/cobalt/thread.c                             |   80 +-
 kernel/cobalt/timer.c                              |  144 +-
 lib/cobalt/init.c                                  |    4 +
 lib/cobalt/internal.c                              |    4 +-
 utils/Makefile.am                                  |    2 +-
 utils/Makefile.in                                  |    4 +-
 utils/autotune/autotune.c                          |    2 +
 utils/corectl/Makefile.am                          |   17 +
 utils/corectl/Makefile.in                          |  701 +++++++++
 utils/corectl/corectl.c                            |  159 ++
 206 files changed, 5506 insertions(+), 2716 deletions(-)

Diff:   
http://git.xenomai.org/?p=xenomai-3.git;a=commitdiff;h=34071842e3461a5d33a63a21c097e3430f2943d0

_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to