From: Sebastian Smolorz <smolorz@domain.hid>
To: "Cédric Schaffter" <cedric.schaffter@domain.hid>,
xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] rt_intr_create issues
Date: Wed, 05 Nov 2008 14:28:34 +0100 [thread overview]
Message-ID: <49119F82.7080108@domain.hid> (raw)
In-Reply-To: <49119A02.9020407@domain.hid>
Cédric Schaffter wrote:
> Hi List!
>
> I'm writing a programm where I need to use interruptions.
>
> To create it, I use the function "rt_intr_create(RT_INTR *intr, const
> char *name, unsigned irq, rt_isr_t isr, rt_iack_t iack, int mode)".
>
> I included this header : #include <native/intr.h>.
>
> When I compile, I get these error messages :
>
> *error 'RT_INTR_HANDLED' undeclared
> error too many arguments to function 'rt_intr_create'.*
>
> When I observe the file intr.h, I see there are two rt_intr_create (the
> one with six arguments which I need and an other one with only four).
The one with six parameters is for kernel apps, the other one with four
parameters for userland which is probably the right one for you. Please see
http://www.xenomai.org/documentation/branches/v2.4.x/html/api/group__interrupt.html
--
Sebastian
next prev parent reply other threads:[~2008-11-05 13:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-05 13:05 [Xenomai-help] rt_intr_create issues Cédric Schaffter
2008-11-05 13:28 ` Sebastian Smolorz [this message]
2008-11-05 13:30 ` Gilles Chanteperdrix
2008-11-05 15:14 ` Cédric Schaffter
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=49119F82.7080108@domain.hid \
--to=smolorz@domain.hid \
--cc=cedric.schaffter@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.