Re: Driver Interrupt Handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Invoke a Bottom Half for your handling. The job of this bottom half 
would be to wake the waiting user process (interruptible_sleep_on)() or
sleeping on some of your defined semaphore. This thread or user 
function would wake up and invoke an appropriate function pointer or 
callback routine.

Thanks,
Sumit

----- Original Message -----
From: David Stroupe <dstroupe@keyed-upsoftware.com>
Date: Wednesday, February 27, 2002 1:54 am
Subject: Driver Interrupt Handler

> I am adding interrupt handling to a pci driver.  My specification 
> requires that I allow the user code to provide a function pointer 
> that 
> will direct execution to that user function at some point after 
> the 
> interrupt.  I know that I can not directly call this user space 
> function 
> directly from the handler, but can I schedule its execution using 
> a 
> tasklet?  How would I do this?
> TIA
> 
> -- 
> Best regards,
> David Stroupe
> Keyed-Up Software 
> 
> 
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> IRC Channel:   irc.openprojects.net / #kernelnewbies
> Web Page:      http://www.kernelnewbies.org/
> 
> 
begin:vcard
n:Agarwal;Sumit
fn:Sumit Agarwal
tel;cell:+919845205210
tel;fax:+91-80-5732696
tel;home:+919845205210
tel;work:+91-805732296 / 93 extn. 5243
url:www.wipro.com
org:Wipro Technologies;SIDC, Embedded and Internet Division
adr:;;No.26, Hosure Main Road, Bommanahalli;Bangalore;Karnataka;560068;INDIA
version:2.1
email;internet:sumit.agarwal@wipro.com
title:Senior Software Engineer
end:vcard


**************************Disclaimer************************************

Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.


 ********************************************************************

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux