* [Xenomai-help] CONFIG_XENO_OPT_NATIVE_INTR?
@ 2008-09-26 0:15 egemen kaleli
2008-09-26 11:06 ` Ulrich Schwab
0 siblings, 1 reply; 2+ messages in thread
From: egemen kaleli @ 2008-09-26 0:15 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 307 bytes --]
Hello,
When I want to call "rt_intr_create(&intr_timer,"MyIrq",irq,I_NOAUTOENA)" function it returns -ENOSYS.CONFIG_XENO_OPT_NATIVE_INTR is off in default.I want to make it on.How can I do it?Which files and directories should I look for?Any help will be greatly appreciated.
egemen.
[-- Attachment #2: Type: text/html, Size: 446 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai-help] CONFIG_XENO_OPT_NATIVE_INTR?
2008-09-26 0:15 [Xenomai-help] CONFIG_XENO_OPT_NATIVE_INTR? egemen kaleli
@ 2008-09-26 11:06 ` Ulrich Schwab
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Schwab @ 2008-09-26 11:06 UTC (permalink / raw)
To: menege1; +Cc: xenomai
On Fri, Sep 26, 2008 at 2:15 AM, egemen kaleli <menege1@domain.hid> wrote:
> Hello,
>
> When I want to call "rt_intr_create(&intr_timer,"MyIrq",irq,I_NOAUTOENA)"
> function it returns -ENOSYS.CONFIG_XENO_OPT_NATIVE_INTR is off in default.I
> want to make it on.How can I do it?Which files and directories should I
> look for?Any help will be greatly appreciated.
Usually You only need to handle irqs in a driver, and a xenomai driver
is doing it with the RTDM skin
and the system call: rtdm_irq_request (see the API docs)
This is the reason CONFIG_XENO_OPT_NATIVE_INTR is off by default
If You want to switch it on anyway, You can do it in the kernel config
page for the native skin.
Ulrich Schwab
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-26 11:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-26 0:15 [Xenomai-help] CONFIG_XENO_OPT_NATIVE_INTR? egemen kaleli
2008-09-26 11:06 ` Ulrich Schwab
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.