Changeset 20730 in vbox for trunk/src/VBox/VMM/PGMPhys.cpp
- Timestamp:
- Jun 19, 2009 3:10:42 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGMPhys.cpp
r20709 r20730 922 922 VM_ASSERT_EMT_RETURN(pVM, VERR_VM_THREAD_NOT_EMT); 923 923 924 pgmLock(pVM); 925 924 926 /* 925 927 * Find range location and check for conflicts. … … 948 950 int rc = MMR3IncreaseBaseReservation(pVM, cPages); 949 951 if (RT_FAILURE(rc)) 952 { 953 pgmUnlock(pVM); 950 954 return rc; 955 } 951 956 952 957 if ( GCPhys >= _4G … … 1013 1018 pgmR3PhysInitAndLinkRamRange(pVM, pNew, GCPhys, GCPhysLast, NIL_RTRCPTR, NIL_RTR0PTR, pszDesc, pPrev); 1014 1019 } 1020 pgmUnlock(pVM); 1015 1021 1016 1022 /* … … 1307 1313 else 1308 1314 { 1315 pgmLock(pVM); 1316 1309 1317 /* 1310 1318 * No RAM range, insert an ad-hoc one. … … 1342 1350 /* link it */ 1343 1351 pgmR3PhysLinkRamRange(pVM, pNew, pRamPrev); 1352 1353 pgmUnlock(pVM); 1344 1354 } 1345 1355
Note:
See TracChangeset
for help on using the changeset viewer.