VirtualBox

Changeset 29401 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
May 12, 2010 10:03:13 AM (15 years ago)
Author:
vboxsync
Message:

Size correction (again)

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/GMM.cpp

    r29399 r29401  
    384384{
    385385    pReq->Hdr.u32Magic  = SUPVMMR0REQHDR_MAGIC;
    386     pReq->Hdr.cbReq     = RT_OFFSETOF(GMMREGISTERSHAREDMODULEREQ, aRegions[pReq->cRegions]);;
     386    pReq->Hdr.cbReq     = RT_OFFSETOF(GMMREGISTERSHAREDMODULEREQ, aRegions[pReq->cRegions]);
    387387    return VMMR3CallR0(pVM, VMMR0_DO_GMM_REGISTER_SHARED_MODULE, 0, &pReq->Hdr);
    388388}
  • trunk/src/VBox/VMM/PGMSharedPage.cpp

    r29397 r29401  
    109109    {
    110110        pReq->Hdr.u32Magic = SUPVMMR0REQHDR_MAGIC;
    111         pReq->Hdr.cbReq = sizeof(*pReq);
     111        pReq->Hdr.cbReq = RT_OFFSETOF(GMMREGISTERSHAREDMODULEREQ, aRegions[pReq->cRegions]);
    112112
    113113        /* We must stall other VCPUs as we'd otherwise have to send IPI flush commands for every single change we make. */
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