From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Andrey Nechypurenko <andreynech@domain.hid>
Cc: Xenomai help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] RTDM or native Xenomai API
Date: Mon, 16 Apr 2012 01:52:55 +0200 [thread overview]
Message-ID: <4F8B5F57.9040608@domain.hid> (raw)
In-Reply-To: <4F8B5DFD.8050502@domain.hid>
On 04/16/2012 01:47 AM, Gilles Chanteperdrix wrote:
> On 04/16/2012 12:53 AM, Andrey Nechypurenko wrote:
>> Hi Gilles,
>>
>> Thank you very much for such low-latency reply! :-)
>>
>>> RTDM is the API of choice for developing drivers for real-time
>>> applications using xenomai.
>>
>> Please correct me if I just misunderstand something here, but as I
>> understand, RTDM is an abstraction layer with concrete implementation
>> using xenomai API. As stated in the referenced paper from Jan Kiszka,
>> the original reason for introducing this layer was to achieve
>> portability across different RT solutions for Linux. Since that time,
>> a lot of considered RT solutions becomes irrelevant. In fact, I would
>> say, there are only Xenomai and preempt_rt. If this assumption is
>> true, then I can not see the advantages of the additional layer unless
>> it is more then just an abstraction layer. Does RTDM API makes certain
>> tasks easier/better compared to the similar native xenomai API? Just
>> to give concrete example - what is the advantage of using
>> rtdm_task_init() vs. rt_task_create or xnintr_init() vs.
>> rtdm_irq_request()?
>
> The native API is designed to write applications, not drivers. The RTDM
> API is designed to write drivers. Using the native API in user-space is
> deprecated, the native API is made for user-space.
Using the native API in *kernel-space* is deprecated, the native API is
made for user-space. Writing applications in kernel-space is not what we
recommend, as much as writing drivers in user-space.
--
Gilles.
next prev parent reply other threads:[~2012-04-15 23:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-15 21:24 [Xenomai-help] RTDM or native Xenomai API Andrey Nechypurenko
2012-04-15 22:27 ` Gilles Chanteperdrix
2012-04-15 22:53 ` Andrey Nechypurenko
2012-04-15 23:47 ` Gilles Chanteperdrix
2012-04-15 23:52 ` Gilles Chanteperdrix [this message]
2012-04-16 6:55 ` Andrey Nechypurenko
2012-04-16 7:02 ` Gilles Chanteperdrix
2012-04-16 7:28 ` Andrey Nechypurenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F8B5F57.9040608@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=andreynech@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.