Re: intel x86 instruction "cli"

From: news (me_at_privacy.net)
Date: 03/19/04

  • Next message: gopan: "how linux reboot works"
    Date: Fri, 19 Mar 2004 09:55:45 +0100
    
    

    > In linux the ISR will mask the corresponding interrupt bit in PIC and
    > will call sti so that processor can identify any new interrupt
    > generation ( as the interrupt
    > bit corresponding to the previous interrupt is cleared processor is
    > not notified
    > of the same interrupt again until ISR re enables that bit before
    > returning).

    I have a question on this. Why is the line masked, given that the
    hardware will not generate another int until it is serviced?
    Why not just only acknowledge the PIC?

    > The purpose of this is to service any higher priority interrupts
    > arrival during the execution of current interrupt's ISR.

    But if ints are enabled, lower priority interrupts could be
    triggered too, right?


  • Next message: gopan: "how linux reboot works"

    Relevant Pages

    • [PATCH 1/1] mxser, remove it
      ... -static int calloutmajor = MXSERCUMAJOR; ... * This routine is called whenever a serial port is opened. ... * enables interrupts for a serial port, linking in its async structure into ... * async structure from the interrupt chain if necessary, ...
      (Linux-Kernel)
    • Re: Why ISR contains no arguments and return type is void
      ... In addition, when you write an ISR, you ... 99.97% of the 8086's) of a software "interrupt" or break ... Check Ralph Brown's INT list. ... >in a register before returning from your ISR. ...
      (sci.electronics.design)
    • Re: Interrupts are not coming sometime in NIC miniport
      ... An ISR should do only what is absolutely necessary, ... This is usually done by reading some interrupt register on the ... The DPC then does all the real work. ... Fill up blob with data from the NICs data buffers. ...
      (microsoft.public.development.device.drivers)
    • Re: bad vme interrupt 0 or uninitialized vme interrupt
      ... My ISR worked very fast but I had interrupt problems (explained in last ... right solution or because these macro calls include a delay big enough ... I have several VME encoder cards that are latched at ...
      (comp.os.vxworks)
    • Re: Installable ISR - general questions
      ... The ISR (Interrupt Service Routine) is called by the interrupt ... handler installed by the OS. ... SYSINTR_RESCHEDULE tells the kernel that it should check if a thread ...
      (microsoft.public.windowsce.platbuilder)