-
Philippe Gerum authored
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.
d928926f