References: <87mtyr1abi.fsf@xenomai.org> From: Philippe Gerum Subject: Re: [CXP][RFC] pick POSIX/cobalt for the common user API In-reply-to: <87mtyr1abi.fsf@xenomai.org> Date: Sun, 03 Jan 2021 18:05:26 +0100 Message-ID: <87o8i6q7c9.fsf@xenomai.org> MIME-Version: 1.0 Content-Type: text/plain List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org Philippe Gerum writes: > The common Xenomai platform specification is about defining the > commonalities among future Xenomai releases starting from 3.3, including > the Xenomai 4 series based on a next generation (EVL) core. A common API > available to applications for issuing requests to the real-time core is > part of this specification. > > Implementing such interface would not preclude other APIs from > co-existing in particular releases. However, use of this common API > only would guarantee portability across releases. > > Excluding the legacy RTOS emulators such as VxWorks and pSOS, Xenomai > 3.x provides two main APIs, a POSIX-compliant one (libcobalt) and a > custom RTOS API aka Alchemy (libalchemy) on top of the Copperplate > interface. > > PROPOSAL: Pick libcobalt as the common API defined by the CXP. > > As a consequence, Xenomai 4 would provide two direct interfaces to the > underlying EVL core: via the libevl API [1] which is readily > available, and its own implementation of libcobalt as part of a CXP > compliance. > > applications > .................................... > libalchemy libevl libcobalt > | | | > | | | > libcopperplate | | > | | | > | | | > libcobalt | | > | | | > v v v > (Cobalt core) (EVL core) > ----------- --------- > Xenomai 3.x Xenomai 4 > > > Thanks, > > [1] https://evlproject.org/core/user-api/ It's been nearly a month since this proposal was submitted, with no fundamental objection raised so far. Therefore it is going to be part of the CXP in the terms discussed earlier. Thanks, -- Philippe.