Ignore:
Timestamp:
Mar 13, 2001, 9:11:06 PM (24 years ago)
Author:
sandervl
Message:

irq sharing fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sbliveos2/trunk/drv16/irq.cpp

    r152 r159  
    268268      for ( i=0; _handlerList[i].pfnHandler; ++i ) {
    269269         if ( _handlerList[i].bEnabled ) {      // If handler enabled...
    270             cli();
    271270            if (_handlerList[i].pfnHandler(_usIRQLevel)) {  // Call handler.
    272271               cli();
     
    278277               return;
    279278            }
    280             sti();
    281279         }
    282280      }
     
    284282   // Indicate Interrupt not serviced by setting carry flag before
    285283   // returning to OS/2 kernel.  OS/2 will then shut down the interrupt!
     284   // NOTE: Make sure interrupts are not turned on again when this irq isn't ours!
    286285   stc();
    287286}
Note: See TracChangeset for help on using the changeset viewer.