Ignore:
Timestamp:
Mar 16, 2011, 11:54:53 PM (14 years ago)
Author:
David Azarewicz
Message:

APIC interrupt fixes from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-2.1.x/drv32/irq.cpp

    r546 r548  
    4646};
    4747
     48extern DBGINT DbgInt;
     49
    4850//******************************************************************************
    4951BOOL ALSA_SetIrq(ULONG ulIrq, ULONG ulSlotNo, BOOL fShared)
     
    6466
    6567    if (rc != 0) {                    // If error ...
    66        dprintf(("ERROR: RMSetIrq %d %d %x - failed to set shared - trying exclusive!!", ulIrq, fShared, ulSlotNo));
     68       rprintf(("ERROR: RMSetIrq %d %d %x - failed to set shared - trying exclusive!!", ulIrq, fShared, ulSlotNo));
    6769        rc = DevIRQSet((WORD16) *pISR[ulSlotNo],
    6870                       (WORD16)ulIrq,
     
    7173
    7274    if (rc != 0) {                    // If error ...
    73         dprintf(("ERROR: RMSetIrq %d %d %x FAILED shared and exclusive mode!!", ulIrq, fShared, ulSlotNo));
     75        rprintf(("ERROR: RMSetIrq %d %d %x FAILED shared and exclusive mode!!", ulIrq, fShared, ulSlotNo));
    7476        DebugInt3();
    7577        return FALSE;
     
    9698   sti();
    9799   if( process_interrupt(ulSlotNo, &ulIrqNo) ) {
     100                DbgInt.ulIntServiced[DbgInt.usState]++;
    98101       // We've cleared all service requests.
    99102       // Clear (disable) Interrupts, Send EOI
     
    104107       return TRUE;
    105108   }
     109        DbgInt.ulIntUnserviced[DbgInt.usState]++;
    106110   // Indicate Interrupt not serviced by setting carry flag before
    107111   // returning to OS/2 kernel.  OS/2 will then shut down the interrupt!
Note: See TracChangeset for help on using the changeset viewer.