VirtualBox

Changeset 29983 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Jun 2, 2010 12:16:30 PM (15 years ago)
Author:
vboxsync
Message:

Align size

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/GMMR0.cpp

    r29980 r29983  
    36143614                Log(("New region %d base=%RGv size %x\n", i, pRegions[i].GCRegionAddr, pRegions[i].cbRegion));
    36153615                pGlobalModule->aRegions[i].GCRegionAddr      = pRegions[i].GCRegionAddr;
    3616                 pGlobalModule->aRegions[i].cbRegion          = pRegions[i].cbRegion;
     3616                pGlobalModule->aRegions[i].cbRegion          = RT_ALIGN_T(pRegions[i].cbRegion, PAGE_SIZE, uint32_t);
    36173617                pGlobalModule->aRegions[i].u32Alignment      = 0;
    36183618                pGlobalModule->aRegions[i].paHCPhysPageID    = NULL; /* uninitialized. */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette