Changeset 498 in vbox for trunk/src/VBox
- Timestamp:
- Feb 1, 2007 10:15:07 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevPCNet.cpp
r497 r498 1055 1055 if (PDMCritSectIsOwner(&pData->CritSect) == false) 1056 1056 { 1057 int rc = PDMCritSectEnter(&pData->CritSect, VERR_SEM_BUSY); 1058 AssertReleaseRC(rc); 1059 /* Check if we can do something now */ 1060 pcnetPollRxTx(pData); 1061 pcnetUpdateIrq(pData); 1062 PDMCritSectLeave(&pData->CritSect); 1057 if ( (GCPhys >= pData->GCTDRA && GCPhys + cbBuf < pcnetTdraAddr(pData, 0)) 1058 #ifdef PCNET_MONITOR_RECEIVE_RING 1059 || (GCPhys >= pData->GCRDRA && GCPhys + cbBuf < pcnetRdraAddr(pData, 0)) 1060 #endif 1061 ) 1062 { 1063 int rc = PDMCritSectEnter(&pData->CritSect, VERR_SEM_BUSY); 1064 AssertReleaseRC(rc); 1065 /* Check if we can do something now */ 1066 pcnetPollRxTx(pData); 1067 pcnetUpdateIrq(pData); 1068 PDMCritSectLeave(&pData->CritSect); 1069 } 1063 1070 } 1064 1071 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.