Changeset 548 for GPL/branches/uniaud32-2.1.x/drv32/irq.cpp
- Timestamp:
- Mar 16, 2011, 11:54:53 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-2.1.x/drv32/irq.cpp
r546 r548 46 46 }; 47 47 48 extern DBGINT DbgInt; 49 48 50 //****************************************************************************** 49 51 BOOL ALSA_SetIrq(ULONG ulIrq, ULONG ulSlotNo, BOOL fShared) … … 64 66 65 67 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)); 67 69 rc = DevIRQSet((WORD16) *pISR[ulSlotNo], 68 70 (WORD16)ulIrq, … … 71 73 72 74 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)); 74 76 DebugInt3(); 75 77 return FALSE; … … 96 98 sti(); 97 99 if( process_interrupt(ulSlotNo, &ulIrqNo) ) { 100 DbgInt.ulIntServiced[DbgInt.usState]++; 98 101 // We've cleared all service requests. 99 102 // Clear (disable) Interrupts, Send EOI … … 104 107 return TRUE; 105 108 } 109 DbgInt.ulIntUnserviced[DbgInt.usState]++; 106 110 // Indicate Interrupt not serviced by setting carry flag before 107 111 // returning to OS/2 kernel. OS/2 will then shut down the interrupt!
Note:
See TracChangeset
for help on using the changeset viewer.