Changeset 159 for sbliveos2/trunk/drv16/irq.cpp
- Timestamp:
- Mar 13, 2001, 9:11:06 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sbliveos2/trunk/drv16/irq.cpp
r152 r159 268 268 for ( i=0; _handlerList[i].pfnHandler; ++i ) { 269 269 if ( _handlerList[i].bEnabled ) { // If handler enabled... 270 cli();271 270 if (_handlerList[i].pfnHandler(_usIRQLevel)) { // Call handler. 272 271 cli(); … … 278 277 return; 279 278 } 280 sti();281 279 } 282 280 } … … 284 282 // Indicate Interrupt not serviced by setting carry flag before 285 283 // 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! 286 285 stc(); 287 286 }
Note:
See TracChangeset
for help on using the changeset viewer.