From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: mani bhatti <imranbashirbhatti@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] user space interrupt
Date: Fri, 15 Dec 2006 19:18:02 +0100 [thread overview]
Message-ID: <4582E6DA.8050309@domain.hid> (raw)
In-Reply-To: <162080.20532.qm@domain.hid>
mani bhatti wrote:
> Thanks a lot
> The error with "iopl" is fixed after i have acquired the root right but
> now problem is that
> rt_intr_create(&intr_desc,"MyIrq",IRQ_NUMBER,I_NOAUTOENA);
>
> returns -22 which i dont understand what it means.my code is extremely
> simple .i have attached the code also please guide me how can i solve
> this problem.thanks again.
-22 is -EINVAL. It is not documented, but if you look at the code, you
will see that it may happen if the mode is invalid. I_NOAUTOENA should
be a valid mode, so I have no idea of what may be wrong.
--
Gilles Chanteperdrix
next prev parent reply other threads:[~2006-12-15 18:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-08 14:01 [Xenomai-help] user space interrupt mani bhatti
2006-12-08 16:50 ` Gilles Chanteperdrix
2006-12-14 16:27 ` mani bhatti
2006-12-14 16:32 ` Gilles Chanteperdrix
2006-12-15 14:59 ` mani bhatti
2006-12-15 18:18 ` Gilles Chanteperdrix [this message]
2006-12-16 17:10 ` Hannes Mayer
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=4582E6DA.8050309@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=imranbashirbhatti@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.