Ignore:
Timestamp:
Oct 8, 2008, 4:42:59 PM (17 years ago)
Author:
rjerant
Message:

Port interrupt fixes to 1.1.4 code base

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/drv32/irq.cpp

    r63 r389  
    9292    ULONG       ulIrqNo;
    9393
     94    // enable interrupts that have higher priority we should
     95    // allow higher priority interrupts
     96    sti();
    9497    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
    95102        cli();
    96         // We've cleared all service requests.  Send EOI and clear
    97         // the carry flag (tells OS/2 kernel that Int was handled).
    98103        DevEOI( (WORD16)ulIrqNo );
    99104        return TRUE;
    100    }
    101    // Indicate Interrupt not serviced by setting carry flag before
    102    // 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;
    105110}
    106111//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.