linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* RE : How ?
@ 2003-05-15 12:27 Callebaut Benoit
  0 siblings, 0 replies; only message in thread
From: Callebaut Benoit @ 2003-05-15 12:27 UTC (permalink / raw)
  To: linuxppc-embedded


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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-15 12:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-15 12:27 RE : How ? Callebaut Benoit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).