Changeset 497 in vbox
- Timestamp:
- Feb 1, 2007 10:11:00 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 18102
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevPCNet.cpp
r496 r497 989 989 { 990 990 if ( (GCPhysFault >= pData->GCTDRA && GCPhysFault + cb < pcnetTdraAddr(pData, 0)) 991 || (GCPhysFault >= pData->GCRDRA && GCPhysFault + cb < pcnetRdraAddr(pData, 0))) 991 #ifdef PCNET_MONITOR_RECEIVE_RING 992 || (GCPhysFault >= pData->GCRDRA && GCPhysFault + cb < pcnetRdraAddr(pData, 0)) 993 #endif 994 ) 992 995 { 993 996 int rc = PDMCritSectEnter(&pData->CritSect, VERR_SEM_BUSY); … … 1206 1209 /** @todo unregister order not correct! */ 1207 1210 1211 #ifdef PCNET_MONITOR_RECEIVE_RING 1208 1212 if (pData->GCRDRA != pData->RDRAPhysOld || CSR_RCVRL(pData) != pData->cbRDRAOld) 1209 1213 { … … 1227 1231 pData->cbRDRAOld = pcnetRdraAddr(pData, 0); 1228 1232 } 1229 1233 #endif 1234 1235 #ifdef PCNET_MONITOR_RECEIVE_RING 1230 1236 /* 3 possibilities: 1231 1237 * 1) TDRA on different physical page as RDRA … … 1241 1247 || TDRAPageStart > RDRAPageEnd) 1242 1248 { 1249 #endif 1243 1250 /* 1) */ 1244 1251 if (pData->GCTDRA != pData->TDRAPhysOld || CSR_XMTRL(pData) != pData->cbTDRAOld) … … 1263 1270 pData->cbTDRAOld = pcnetTdraAddr(pData, 0); 1264 1271 } 1272 #ifdef PCNET_MONITOR_RECEIVE_RING 1265 1273 } 1266 1274 else … … 1275 1283 } 1276 1284 /* else 2) */ 1285 #endif 1277 1286 } 1278 1287 #endif /* PCNET_NO_POLLING */
Note:
See TracChangeset
for help on using the changeset viewer.