mask out an irq line

2012-02-26 Thread cheneydeng
hi all,
I know that when an interrupt handler is excuting, the irq line which 
generated the signal will be masked out,however,if the line is shared by many 
device.Will all be masked out or just the one which is handling now be masked 
out ?Doed it tell the difference by the forth argument of request_irq() ? 
 

--
best regards!
  cheneydeng___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: About interrupt handler

2012-02-23 Thread cheneydeng
Thanks to all of you~


--
best regards!
  cheneydeng
 

 
 
 
-- Original --
From:  "Zhengwang Ruan";
Date:  Thu, Feb 23, 2012 06:07 PM
To:  "kernelnewbies"; 

Subject:  Re: About interrupt handler

 
   
   
   
    Original Message ----
   From: cheneydeng
   Sent: 2012年02月22日 星期三 23时38分37秒
   To: kernelnewbies
   Subject: About interrupt handler
  hi all,
  I'm begin to learn the Kernel and i'm reading   <>.It says "This is an   important point, always keep 
in mind that all interrupt   handler has interrupted other 
code(possibly even another   interrupt handler on a different 
line)".What i am not able to   understand is how a interrupt handler be 
interrupted ? DID NOT   it uninterrupted?
   
  
 It has more related to CPU architecture. Generally, while an interrupt 
handler is being executed, the handler itself can chose to disable or 
enable external interrupts (i.e, take x86 for example, IF bit for cflags 
reg controls this.). If IF is enabled, then the interrupt handler currently 
being executed may be interrupted and then jump to the entry for the coming 
interrupt.
 
 Thanks,
 -Zhengwang
 
 
 
 
  --
    best regards!
 cheneydeng
 
   
  
   
___ Kernelnewbies mailing 
list Kernelnewbies@kernelnewbies.org 
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


About interrupt handler

2012-02-23 Thread cheneydeng
hi all,
 I'm begin to learn the Kernel and i'm reading <>.It says "This is an important point, always keep in mind that all 
interrupt handler has interrupted other code(possibly even another interrupt 
handler on a different line)".What i am not able to understand is how a 
interrupt handler be interrupted ? DID NOT it uninterrupted?


--
best regards!
  cheneydeng___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


About interrupt handler

2012-02-22 Thread cheneydeng
hi all,
 I'm begin to learn the Kernel and i'm reading <>.It says "This is an important point, always keep in mind that all 
interrupt handler has interrupted other code(possibly even another interrupt 
handler on a different line)".What i am not able to understand is how a 
interrupt handler be interrupted ? DID NOT it uninterrupted?


--
best regards!
  cheneydeng___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies