VirtualBox

Changeset 5606 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Nov 1, 2007 7:43:40 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
25897
Message:

ALIGNP SIZEOFMEMB

Location:
trunk/src/VBox/HostDrivers/Support
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDRVShared.c

    r5605 r5606  
    29812981     */
    29822982    pImage = (PSUPDRVLDRIMAGE)pv;
    2983     pImage->pvImage         = ALIGNP(pImage + 1, 32);
     2983    pImage->pvImage         = RT_ALIGN_P(pImage + 1, 32);
    29842984    pImage->cbImage         = pReq->u.In.cbImage;
    29852985    pImage->pfnModuleInit   = NULL;
  • trunk/src/VBox/HostDrivers/Support/testcase/tstPin.cpp

    r4825 r5606  
    7373            aPinnings[i].pv = NULL;
    7474            SUPPageAlloc(0x10000 >> PAGE_SHIFT, &aPinnings[i].pv);
    75             aPinnings[i].pvAligned = ALIGNP(aPinnings[i].pv, PAGE_SIZE);
     75            aPinnings[i].pvAligned = RT_ALIGN_P(aPinnings[i].pv, PAGE_SIZE);
    7676            rc = SUPPageLock(aPinnings[i].pvAligned, 0xf000 >> PAGE_SHIFT, &aPinnings[i].aPages[0]);
    7777            if (!rc)
Note: See TracChangeset for help on using the changeset viewer.

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