From: Callebaut Benoit <callebaut@mailandnews.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: RE : How ?
Date: Thu, 15 May 2003 08:27:26 -0400 [thread overview]
Message-ID: <3EC71585@mailandnews.com> (raw)
Hi Rakesh
>Hi all,
>
> Can anyone suggest me how we can invoke the interrupt generated in the
>kernel from the user application. I am getting the interrupt in the driver, I
>want to update some register in the application, when the inettrupt will be
>generated, Right now I am using polloing method. Continuously I am calling
>read routines.
>Thanks in advance,
>Rakesh Jagota
First a remark : "How" isn't a good subject title because we could answer "
So".
What do you want to do exaclty. That your driver receive interrupt from the
hardware, read datas from it and after that warn an application that something
happened ?
If the answer is yes, I can say to you that is possible and even easy. To warn
your application from your driver it is a little bit harder because normally a
driver don't do that. A driver is unaware of the applications, It only answer
to request (read/write,ioctl requests)
Please be more specific and first erad the Linux Device Driver book from O
reilly. ( available as PDF freely, search for the address on this mailing
list)
Benoit Callebaut
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
reply other threads:[~2003-05-15 12:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3EC71585@mailandnews.com \
--to=callebaut@mailandnews.com \
--cc=linuxppc-embedded@lists.linuxppc.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.