Changeset 26958 in vbox for trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp
- Timestamp:
- Mar 2, 2010 4:48:38 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp
r26944 r26958 1064 1064 * deregistering PIOMMMIORANGE to deal with remapping/access races 1065 1065 * (unlikely, but an SMP guest shouldn't cause us to crash). */ 1066 Assert(!pRange->CTX_SUFF(pDevIns) ->CTX_SUFF(pCritSect));1066 Assert(!pRange->CTX_SUFF(pDevIns) || !pRange->CTX_SUFF(pDevIns)->CTX_SUFF(pCritSect)); 1067 1067 1068 1068 #ifdef VBOX_WITH_STATISTICS … … 1317 1317 * deregistering PIOMMMIORANGE to deal with remapping/access races 1318 1318 * (unlikely, but an SMP guest shouldn't cause us to crash). */ 1319 Assert(!pRange->CTX_SUFF(pDevIns) ->CTX_SUFF(pCritSect));1319 Assert(!pRange->CTX_SUFF(pDevIns) || !pRange->CTX_SUFF(pDevIns)->CTX_SUFF(pCritSect)); 1320 1320 1321 1321 if (enmAccessType == PGMACCESSTYPE_READ) … … 1361 1361 } 1362 1362 /** @todo implement per-device locks for MMIO access. */ 1363 Assert(!pRange->CTX_SUFF(pDevIns) ->CTX_SUFF(pCritSect));1363 Assert(!pRange->CTX_SUFF(pDevIns) || !pRange->CTX_SUFF(pDevIns)->CTX_SUFF(pCritSect)); 1364 1364 #ifdef VBOX_WITH_STATISTICS 1365 1365 PIOMMMIOSTATS pStats = iomMMIOGetStats(&pVM->iom.s, GCPhys, pRange); … … 1484 1484 } 1485 1485 /** @todo implement per-device locks for MMIO access. */ 1486 Assert(!pRange->CTX_SUFF(pDevIns) ->CTX_SUFF(pCritSect));1486 Assert(!pRange->CTX_SUFF(pDevIns) || !pRange->CTX_SUFF(pDevIns)->CTX_SUFF(pCritSect)); 1487 1487 #ifdef VBOX_WITH_STATISTICS 1488 1488 PIOMMMIOSTATS pStats = iomMMIOGetStats(&pVM->iom.s, GCPhys, pRange);
Note:
See TracChangeset
for help on using the changeset viewer.