Changeset 32286 in vbox for trunk/src/VBox/VMM/FTM.cpp
- Timestamp:
- Sep 7, 2010 12:37:46 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/FTM.cpp
r32285 r32286 174 174 175 175 /* Remove all pending memory updates. */ 176 if (&pVM->ftm.s.standby. PhysPageTree)177 { 178 RTAvlGCPhysDestroy(&pVM->ftm.s.standby. PhysPageTree, ftmR3PageTreeDestroyCallback, NULL);179 pVM->ftm.s.standby. PhysPageTree = NULL;176 if (&pVM->ftm.s.standby.pPhysPageTree) 177 { 178 RTAvlGCPhysDestroy(&pVM->ftm.s.standby.pPhysPageTree, ftmR3PageTreeDestroyCallback, NULL); 179 pVM->ftm.s.standby.pPhysPageTree = NULL; 180 180 } 181 181 … … 838 838 while (Hdr.cbPageRange) 839 839 { 840 PFTMPHYSPAGETREENODE pNode = (PFTMPHYSPAGETREENODE)RTAvlGCPhysGet(&pVM->ftm.s.standby. PhysPageTree, GCPhys);840 PFTMPHYSPAGETREENODE pNode = (PFTMPHYSPAGETREENODE)RTAvlGCPhysGet(&pVM->ftm.s.standby.pPhysPageTree, GCPhys); 841 841 if (!pNode) 842 842 { … … 848 848 pNode->Core.Key = GCPhys; 849 849 pNode->pPage = (void *)(pNode + 1); 850 bool fRet = RTAvlGCPhysInsert(&pVM->ftm.s.standby. PhysPageTree, &pNode->Core);850 bool fRet = RTAvlGCPhysInsert(&pVM->ftm.s.standby.pPhysPageTree, &pNode->Core); 851 851 Assert(fRet); 852 852 } … … 992 992 993 993 /* Flush all pending memory updates. */ 994 if (&pVM->ftm.s.standby. PhysPageTree)995 { 996 RTAvlGCPhysDestroy(&pVM->ftm.s.standby. PhysPageTree, ftmR3PageTreeDestroyCallback, pVM);997 pVM->ftm.s.standby. PhysPageTree = NULL;994 if (&pVM->ftm.s.standby.pPhysPageTree) 995 { 996 RTAvlGCPhysDestroy(&pVM->ftm.s.standby.pPhysPageTree, ftmR3PageTreeDestroyCallback, pVM); 997 pVM->ftm.s.standby.pPhysPageTree = NULL; 998 998 } 999 999
Note:
See TracChangeset
for help on using the changeset viewer.