Changeset 389 for GPL/trunk/drv32/irq.cpp
- Timestamp:
- Oct 8, 2008, 4:42:59 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/drv32/irq.cpp
r63 r389 92 92 ULONG ulIrqNo; 93 93 94 // enable interrupts that have higher priority we should 95 // allow higher priority interrupts 96 sti(); 94 97 if( process_interrupt(ulSlotNo, &ulIrqNo) ) { 98 // We've cleared all service requests. 99 // Clear (disable) Interrupts, Send EOI 100 // and clear the carry flag (tells OS/2 kernel that Int was handled). 101 // Note carry flag is handled in setup.asm 95 102 cli(); 96 // We've cleared all service requests. Send EOI and clear97 // the carry flag (tells OS/2 kernel that Int was handled).98 103 DevEOI( (WORD16)ulIrqNo ); 99 104 return TRUE; 100 }101 // Indicate Interrupt not serviced by setting carry flag before102 // returning to OS/2 kernel. OS/2 will then shut down the interrupt!103 // NOTE: Make sure interrupts are not turned on again when this irq isn't ours!104 return FALSE;105 } 106 // Indicate Interrupt not serviced by setting carry flag before 107 // returning to OS/2 kernel. OS/2 will then shut down the interrupt! 108 // NOTE: Make sure interrupts are not turned on again when this irq isn't ours! 109 return FALSE; 105 110 } 106 111 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.