Changeset 37803 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Jul 6, 2011 2:45:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PGM.cpp
r37794 r37803 5 5 6 6 /* 7 * Copyright (C) 2006-201 0Oracle Corporation7 * Copyright (C) 2006-2011 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 1196 1196 pVM->pgm.s.offVM = RT_OFFSETOF(VM, pgm.s); 1197 1197 pVM->pgm.s.offVCpuPGM = RT_OFFSETOF(VMCPU, pgm.s); 1198 1199 for (unsigned i = 0; i < RT_ELEMENTS(pVM->pgm.s.aHandyPages); i++) 1200 { 1201 pVM->pgm.s.aHandyPages[i].HCPhysGCPhys = NIL_RTHCPHYS; 1202 pVM->pgm.s.aHandyPages[i].idPage = NIL_GMM_PAGEID; 1203 pVM->pgm.s.aHandyPages[i].idSharedPage = NIL_GMM_PAGEID; 1204 } 1205 1206 for (unsigned i = 0; i < RT_ELEMENTS(pVM->pgm.s.aLargeHandyPage); i++) 1207 { 1208 pVM->pgm.s.aLargeHandyPage[i].HCPhysGCPhys = NIL_RTHCPHYS; 1209 pVM->pgm.s.aLargeHandyPage[i].idPage = NIL_GMM_PAGEID; 1210 pVM->pgm.s.aLargeHandyPage[i].idSharedPage = NIL_GMM_PAGEID; 1211 } 1198 1212 1199 1213 /* Init the per-CPU part. */
Note:
See TracChangeset
for help on using the changeset viewer.