Changeset 30499 in vbox
- Timestamp:
- Jun 29, 2010 12:59:00 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 63191
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PATM/CSAM.cpp
r30497 r30499 684 684 PVMCPU pVCpu = VMMGetCpu0(pVM); 685 685 686 pLock->pvMap = NULL; /* invalidate it in case we don't call PGMPhysGCPtr2CCPtrReadOnly */ 686 687 STAM_PROFILE_START(&pVM->csam.s.StatTimeAddrConv, a); 687 688 … … 875 876 cpu.mode = (fCode32) ? CPUMODE_32BIT : CPUMODE_16BIT; 876 877 rc = CSAMR3DISInstr(pVM, &cpu, pCurInstrGC, pCurInstrHC, &opsize, NULL); 877 PGMPhysReleasePageMappingLock(pVM, &PageLock); 878 if (PageLock.pvMap) 879 PGMPhysReleasePageMappingLock(pVM, &PageLock); 878 880 } 879 881 AssertRC(rc); … … 1277 1279 #endif 1278 1280 STAM_PROFILE_STOP(&pVM->csam.s.StatTimeDisasm, a); 1279 PGMPhysReleasePageMappingLock(pVM, &PageLock); 1281 if (PageLock.pvMap) 1282 PGMPhysReleasePageMappingLock(pVM, &PageLock); 1280 1283 } 1281 1284 if (RT_FAILURE(rc2))
Note:
See TracChangeset
for help on using the changeset viewer.