All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Some basic questions
@ 2006-05-11 14:04 Li Yi (Adam)
  2006-05-11 15:49 ` Philippe Gerum
  0 siblings, 1 reply; 2+ messages in thread
From: Li Yi (Adam) @ 2006-05-11 14:04 UTC (permalink / raw)
  To: Xenomai-help

[-- Attachment #1: Type: text/plain, Size: 1836 bytes --]

Hi,

I have been getting touch with Xenomai for some time, but I still has some
basic confusions (and I think these questions may be common for new users
starting to write real-time application using Xenomai).

1. If my real-time task want to access the HW resource, like DMA, memory,
Network,etc, does the task has to access through Linux kernel service of
allocating DMA or allocating memory, etc. Xenomai itself does not provide HW
management services, except interrupt and timer. But by using Linux kernel
service, the task may suffer from the non-determinstic (non-preemptive) of
Linux kernel? Is there any solution for this?

2. When writing a real-time task dealing with HW (that is, a real-time
driver), is the RTDM the prefered interface to use? If I am to make an
existing linux driver (for example, an A/D converter driver) real-time, and
I don't want to change the code a lot, beside RTDM, what other Xenomai
service (API) can I use?

3. Does it make sense that I start a real-time task using the Xenomai native
API, while the task calling into Linux network stack (e.g, open a TCP
socket)? Since the Linux network stack is not determinstic, the result is
the same as I start a normal real-time linux task with SCHED_FIFO or
SCHED_RR, that is, the task can be only soft-rt?

4. To create a task to be fully determinstic, I need to make sure the task
running in Xonomai domain. When the task need to acess HW, it should not use
Linux service. Is that right?

5. What is the scheduling policy for Xenomai rt task? SCHED_RR or
SCHED_FIFO? Sorry I did not found it in the document.

6. And finally a question specific to Blackfin: What is the purpose of
starting a kernel thread for each interrupt handler in Linux kernel?

Sorry about so many questions and many thanks in advance!

-Li Yi

[-- Attachment #2: Type: text/html, Size: 1885 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-05-11 15:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-11 14:04 [Xenomai-help] Some basic questions Li Yi (Adam)
2006-05-11 15:49 ` Philippe Gerum

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.