Changeset 549 for GPL/trunk/drv32
- Timestamp:
- Apr 13, 2011, 7:59:35 PM (15 years ago)
- Location:
- GPL/trunk/drv32
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/drv32/idc.c
r547 r549 56 56 rprintf(("AlsaIDC: Resuming")); 57 57 OSS32_APMResume(); 58 DbgPrintIrq(); 58 59 } 59 60 … … 129 130 130 131 case IDC32_WAVE_STOP: 132 DbgPrintIrq(); 131 133 return OSS32_WaveStop(pPacket->streamid); 132 134 -
GPL/trunk/drv32/irq.cpp
r547 r549 46 46 }; 47 47 48 extern DBGINT DbgInt;48 extern "C" DBGINT DbgInt; 49 49 50 50 //****************************************************************************** … … 98 98 sti(); 99 99 if( process_interrupt(ulSlotNo, &ulIrqNo) ) { 100 DbgInt.ulIntServiced[DbgInt.u sState]++;100 DbgInt.ulIntServiced[DbgInt.ulState]++; 101 101 // We've cleared all service requests. 102 102 // Clear (disable) Interrupts, Send EOI … … 107 107 return TRUE; 108 108 } 109 DbgInt.ulIntUnserviced[DbgInt.u sState]++;109 DbgInt.ulIntUnserviced[DbgInt.ulState]++; 110 110 // Indicate Interrupt not serviced by setting carry flag before 111 111 // returning to OS/2 kernel. OS/2 will then shut down the interrupt! -
GPL/trunk/drv32/read.cpp
r547 r549 16 16 17 17 } 18 19 extern DBGINT DbgInt;20 18 21 19 ULONG StratRead(RP __far* _rp) -
GPL/trunk/drv32/strategy.c
r547 r549 44 44 extern "C" BOOL fRewired; //pci.c 45 45 46 DBGINT DbgInt;46 extern "C" DBGINT DbgInt; 47 47 48 48 //****************************************************************************** … … 72 72 73 73 memset(&DbgInt, 0, sizeof(DbgInt)); 74 DbgPrintIrq(); 74 75 75 76 RPInit __far* rp = (RPInit __far*)_rp; 76 77 rc = DiscardableInit(rp); 77 78 //dprintf(("StratInit End rc=%d", rc)); 78 DbgInt.usState = 1; 79 DbgPrintIrq(); 80 DbgInt.ulState = 1; 79 81 return rc; 80 82 } … … 89 91 #pragma on (unreferenced) 90 92 { 91 DbgInt.u sState = 2;93 DbgInt.ulState = 2; 92 94 #ifdef ACPI 93 95 PciAdjustInterrupts(); 94 96 #endif 95 rprintf(("StratInitComplete: Init=%ld/%ld Between=%ld/%ld Complete=%ld/%ld", 96 DbgInt.ulIntServiced[0], DbgInt.ulIntUnserviced[0], 97 DbgInt.ulIntServiced[1], DbgInt.ulIntUnserviced[1], 98 DbgInt.ulIntServiced[2], DbgInt.ulIntUnserviced[2])); 97 DbgPrintIrq(); 99 98 //dprintf(("StratInitComplete")); 100 99 return(RPDONE); … … 176 175 rprintf(("Strategy: Resuming")); 177 176 OSS32_APMResume(); 177 DbgPrintIrq(); 178 178 } 179 179
Note:
See TracChangeset
for help on using the changeset viewer.