[Xenomai-git] Philippe Gerum : cobalt: introduce uapi headers

2013-06-29 Thread git repository hosting
Module: xenomai-forge
Branch: next
Commit: 243779becb45b643de217ff510fa0187e1b3a50c
URL:
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=243779becb45b643de217ff510fa0187e1b3a50c

Author: Philippe Gerum r...@xenomai.org
Date:   Tue Jun 25 17:13:52 2013 +0200

cobalt: introduce uapi headers

Following the uapi introduction in recent kernels, this jumbo patch
splits the former Xenomai POSIX headers into kernel and userland
counterparts, privatizing the former into the kernel section when
applicable.

This change is aimed at centralizing the shared API types and
definitions used in system calls, making it easier to track changes to
the APIs that the kernel presents to user space, and solving inclusion
dependency issues the right way.

Headers defining the API bits shared between the Cobalt kernel and the
support libraries in userland are available from include/cobalt/uapi,
organized as follows:

- uapi/*.h = Cobalt/POSIX interface bits
- uapi/rtdm = RTDM bits
- uapi/sys/*.h = Low-level Cobalt kernel bits

As a consequence of this split, files below include/cobalt/kernel
become kernel-only headers, and POSIX headers in include/cobalt are
exclusively reserved for inclusion in user-space builds.

As an added benefit, this change significantly reduces the number of
headers to be installed for building Xenomai applications.

---

 configure  |5 +-
 configure.in   |3 +
 include/cobalt/Makefile.am |   31 +-
 include/cobalt/Makefile.in |   29 +-
 include/cobalt/asm-generic/Makefile.am |3 +-
 include/cobalt/asm-generic/Makefile.in |9 +-
 include/cobalt/asm-generic/sem_heap.h  |   10 -
 include/cobalt/asm-generic/seqlock.h   |   75 +++
 include/cobalt/core.h  |4 +-
 include/cobalt/fcntl.h |   33 +-
 include/cobalt/kernel/Makefile.am  |   67 +-
 include/cobalt/kernel/Makefile.in  |  141 ++---
 include/cobalt/kernel/assert.h |1 -
 include/cobalt/kernel/bufd.h   |2 +-
 include/cobalt/kernel/clock.h  |4 -
 include/cobalt/kernel/heap.h   |   26 +-
 include/cobalt/kernel/hostrt.h |   44 --
 include/cobalt/kernel/intr.h   |   13 +-
 include/cobalt/kernel/map.h|2 +-
 include/cobalt/kernel/pipe.h   |   14 +-
 include/cobalt/kernel/pod.h|  128 ++--
 include/cobalt/kernel/registry.h   |   22 +-
 include/cobalt/kernel/sched-idle.h |4 -
 include/cobalt/kernel/sched-rt.h   |4 -
 include/cobalt/kernel/sched.h  |   15 +-
 include/cobalt/kernel/seqlock.h|   57 --
 include/cobalt/kernel/stat.h   |1 -
 include/cobalt/kernel/synch.h  |   52 +--
 include/cobalt/kernel/thread.h |  133 +
 include/cobalt/kernel/timer.h  |   14 +-
 include/cobalt/kernel/trace.h  |   73 +--
 include/cobalt/kernel/types.h  |   95 +---
 include/cobalt/kernel/vdso.h   |   46 +-
 include/cobalt/kernel/vfile.h  |1 -
 include/cobalt/mqueue.h|   56 +--
 include/cobalt/pthread.h   |  235 +--
 include/cobalt/sched.h |   96 +---
 include/cobalt/semaphore.h |   68 +--
 include/cobalt/signal.h|  119 +---
 include/cobalt/stdio.h |   29 +-
 include/cobalt/stdlib.h|   33 +-
 include/cobalt/sys/Makefile.am |8 +-
 include/cobalt/sys/Makefile.in |6 +-
 include/cobalt/sys/ioctl.h |   26 +-
 include/cobalt/sys/select.h|   32 +-
 include/cobalt/sys/socket.h|   32 +-
 include/cobalt/sys/time.h  |   25 +-
 include/cobalt/syslog.h|   24 +-
 include/cobalt/time.h  |   63 +--
 include/cobalt/trace.h |   45 ++
 include/cobalt/uapi/Makefile.am|   15 +
 include/cobalt/uapi/Makefile.in|  695 
 include/cobalt/uapi/cond.h |   42 ++
 include/cobalt/uapi/event.h|   50 ++
 include/cobalt/uapi/monitor.h  |   49 ++
 include/cobalt/uapi/mutex.h|   46 ++
 include/cobalt/uapi/rtdm/Makefile.am   |2 +
 include/cobalt/uapi/rtdm/Makefile.in   |  502 ++
 

[Xenomai-git] Philippe Gerum : cobalt: introduce uapi headers

2013-06-29 Thread git repository hosting
Module: xenomai-forge
Branch: next
Commit: d928926f5c505d012b7b8f7895896194a50a002d
URL:
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=d928926f5c505d012b7b8f7895896194a50a002d

Author: Philippe Gerum r...@xenomai.org
Date:   Tue Jun 25 17:13:52 2013 +0200

cobalt: introduce uapi headers

Following the uapi introduction in recent kernels, this jumbo patch
splits the former Xenomai POSIX headers into kernel and userland
counterparts, privatizing the former into the kernel section when
applicable.

This change is aimed at centralizing the shared API types and
definitions used in system calls, making it easier to track changes to
the APIs that the kernel presents to user space, and solving inclusion
dependency issues the right way.

Headers defining the API bits shared between the Cobalt kernel and the
support libraries in userland are available from include/cobalt/uapi,
organized as follows:

- uapi/*.h = Cobalt/POSIX interface bits
- uapi/rtdm = RTDM bits
- uapi/sys/*.h = Low-level Cobalt kernel bits

As a consequence of this split, files below include/cobalt/kernel
become kernel-only headers, and POSIX headers in include/cobalt are
exclusively reserved for inclusion in user-space builds.

As an added benefit, this change significantly reduces the number of
headers to be installed for building Xenomai applications.

---

 configure  |5 +-
 configure.in   |3 +
 include/cobalt/Makefile.am |   31 +-
 include/cobalt/Makefile.in |   29 +-
 include/cobalt/asm-generic/Makefile.am |3 +-
 include/cobalt/asm-generic/Makefile.in |9 +-
 include/cobalt/asm-generic/sem_heap.h  |   10 -
 include/cobalt/asm-generic/seqlock.h   |   75 +++
 include/cobalt/core.h  |4 +-
 include/cobalt/fcntl.h |   33 +-
 include/cobalt/kernel/Makefile.am  |   67 +-
 include/cobalt/kernel/Makefile.in  |  141 ++---
 include/cobalt/kernel/assert.h |3 +-
 include/cobalt/kernel/bufd.h   |2 +-
 include/cobalt/kernel/clock.h  |4 -
 include/cobalt/kernel/heap.h   |   27 +-
 include/cobalt/kernel/hostrt.h |   44 --
 include/cobalt/kernel/intr.h   |   13 +-
 include/cobalt/kernel/map.h|2 +-
 include/cobalt/kernel/pipe.h   |   14 +-
 include/cobalt/kernel/pod.h|  128 ++--
 include/cobalt/kernel/registry.h   |   22 +-
 include/cobalt/kernel/sched-idle.h |4 -
 include/cobalt/kernel/sched-rt.h   |4 -
 include/cobalt/kernel/sched.h  |   15 +-
 include/cobalt/kernel/seqlock.h|   57 --
 include/cobalt/kernel/stat.h   |1 -
 include/cobalt/kernel/synch.h  |   52 +--
 include/cobalt/kernel/thread.h |  133 +
 include/cobalt/kernel/timer.h  |   14 +-
 include/cobalt/kernel/trace.h  |   73 +--
 include/cobalt/kernel/types.h  |   97 +---
 include/cobalt/kernel/vdso.h   |   46 +-
 include/cobalt/kernel/vfile.h  |1 -
 include/cobalt/mqueue.h|   56 +--
 include/cobalt/pthread.h   |  235 +--
 include/cobalt/sched.h |   96 +---
 include/cobalt/semaphore.h |   68 +--
 include/cobalt/signal.h|  119 +---
 include/cobalt/stdio.h |   29 +-
 include/cobalt/stdlib.h|   33 +-
 include/cobalt/sys/Makefile.am |8 +-
 include/cobalt/sys/Makefile.in |6 +-
 include/cobalt/sys/ioctl.h |   26 +-
 include/cobalt/sys/select.h|   32 +-
 include/cobalt/sys/socket.h|   32 +-
 include/cobalt/sys/time.h  |   25 +-
 include/cobalt/syslog.h|   24 +-
 include/cobalt/time.h  |   63 +--
 include/cobalt/trace.h |   45 ++
 include/cobalt/uapi/Makefile.am|   15 +
 include/cobalt/uapi/Makefile.in|  695 
 include/cobalt/uapi/cond.h |   42 ++
 include/cobalt/uapi/event.h|   50 ++
 include/cobalt/uapi/monitor.h  |   49 ++
 include/cobalt/uapi/mutex.h|   46 ++
 include/cobalt/uapi/rtdm/Makefile.am   |2 +
 include/cobalt/uapi/rtdm/Makefile.in   |  502 ++
 

[Xenomai-git] Philippe Gerum : cobalt: introduce uapi headers

2013-06-28 Thread git repository hosting
Module: xenomai-forge
Branch: next
Commit: b41e996801024cd85b5dc4a084a4020c5168bf2a
URL:
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=b41e996801024cd85b5dc4a084a4020c5168bf2a

Author: Philippe Gerum r...@xenomai.org
Date:   Tue Jun 25 17:13:52 2013 +0200

cobalt: introduce uapi headers

Following the uapi introduction in recent kernels, this jumbo patch
splits the former Xenomai POSIX headers into kernel and userland
counterparts, privatizing the former into the kernel section when
applicable.

This change is aimed at centralizing the shared API types and
definitions used in system calls, making it easier to track changes to
the APIs that the kernel presents to user space, and solving inclusion
dependency issues the right way.

Headers defining the API bits shared between the Cobalt kernel and the
support libraries in userland are available from include/cobalt/uapi,
organized as follows:

- uapi/*.h = Cobalt/POSIX interface bits
- uapi/rtdm = RTDM bits
- uapi/sys/*.h = Low-level Cobalt kernel bits

As a consequence of this split, files below include/cobalt/kernel
become kernel-only headers, and POSIX headers in include/cobalt are
exclusively reserved for inclusion in user-space builds.

As an added benefit, this change significantly reduces the number of
headers to be installed for building Xenomai applications.

---

 configure  |5 +-
 configure.in   |3 +
 include/cobalt/Makefile.am |   31 +-
 include/cobalt/Makefile.in |   29 +-
 include/cobalt/asm-generic/Makefile.am |3 +-
 include/cobalt/asm-generic/Makefile.in |9 +-
 include/cobalt/asm-generic/sem_heap.h  |   10 -
 include/cobalt/asm-generic/seqlock.h   |   75 +++
 include/cobalt/core.h  |4 +-
 include/cobalt/fcntl.h |   33 +-
 include/cobalt/kernel/Makefile.am  |   67 +-
 include/cobalt/kernel/Makefile.in  |  141 ++---
 include/cobalt/kernel/assert.h |1 -
 include/cobalt/kernel/bufd.h   |2 +-
 include/cobalt/kernel/clock.h  |4 -
 include/cobalt/kernel/heap.h   |   26 +-
 include/cobalt/kernel/hostrt.h |   44 --
 include/cobalt/kernel/intr.h   |   13 +-
 include/cobalt/kernel/map.h|2 +-
 include/cobalt/kernel/pipe.h   |   14 +-
 include/cobalt/kernel/pod.h|  128 ++--
 include/cobalt/kernel/registry.h   |   22 +-
 include/cobalt/kernel/sched-idle.h |4 -
 include/cobalt/kernel/sched-rt.h   |4 -
 include/cobalt/kernel/sched.h  |   15 +-
 include/cobalt/kernel/seqlock.h|   57 --
 include/cobalt/kernel/stat.h   |1 -
 include/cobalt/kernel/synch.h  |   52 +--
 include/cobalt/kernel/thread.h |  133 +
 include/cobalt/kernel/timer.h  |   14 +-
 include/cobalt/kernel/trace.h  |   73 +--
 include/cobalt/kernel/types.h  |   95 +---
 include/cobalt/kernel/vdso.h   |   46 +-
 include/cobalt/kernel/vfile.h  |1 -
 include/cobalt/mqueue.h|   56 +--
 include/cobalt/pthread.h   |  235 +--
 include/cobalt/sched.h |   96 +---
 include/cobalt/semaphore.h |   68 +--
 include/cobalt/signal.h|  119 +---
 include/cobalt/stdio.h |   29 +-
 include/cobalt/stdlib.h|   33 +-
 include/cobalt/sys/Makefile.am |8 +-
 include/cobalt/sys/Makefile.in |6 +-
 include/cobalt/sys/ioctl.h |   26 +-
 include/cobalt/sys/select.h|   32 +-
 include/cobalt/sys/socket.h|   32 +-
 include/cobalt/sys/time.h  |   25 +-
 include/cobalt/syslog.h|   24 +-
 include/cobalt/time.h  |   63 +--
 include/cobalt/trace.h |   45 ++
 include/cobalt/uapi/Makefile.am|   15 +
 include/cobalt/uapi/Makefile.in|  695 
 include/cobalt/uapi/cond.h |   42 ++
 include/cobalt/uapi/event.h|   50 ++
 include/cobalt/uapi/monitor.h  |   49 ++
 include/cobalt/uapi/mutex.h|   46 ++
 include/cobalt/uapi/rtdm/Makefile.am   |2 +
 include/cobalt/uapi/rtdm/Makefile.in   |  502 ++