VirtualBox

Ignore:
Timestamp:
Jun 3, 2010 2:40:59 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
62335
Message:

scm cleanup.

File:
1 edited

Legend:

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

    r30009 r30013  
    5656
    5757    Log(("PGMR3SharedModuleRegister family=%d name=%s version=%s base=%RGv size=%x cRegions=%d\n", enmGuestOS, pszModuleName, pszVersion, GCBaseAddr, cbModule, cRegions));
    58          
     58
    5959    /* Sanity check. */
    6060    AssertReturn(cRegions < VMMDEVSHAREDREGIONDESC_MAX, VERR_INVALID_PARAMETER);
     
    107107    pReq = (PGMMUNREGISTERSHAREDMODULEREQ)RTMemAllocZ(sizeof(*pReq));
    108108    AssertReturn(pReq, VERR_NO_MEMORY);
    109    
     109
    110110    pReq->GCBaseAddr    = GCBaseAddr;
    111111    pReq->cbModule      = cbModule;
     
    120120    RTMemFree(pReq);
    121121    return rc;
    122 #else 
     122#else
    123123    return VERR_NOT_IMPLEMENTED;
    124124#endif
     
    154154 */
    155155static DECLCALLBACK(void) pgmR3CheckSharedModulesHelper(PVM pVM)
    156 {   
     156{
    157157    /* We must stall other VCPUs as we'd otherwise have to send IPI flush commands for every single change we make. */
    158158    int rc = VMMR3EmtRendezvous(pVM, VMMEMTRENDEZVOUS_FLAGS_TYPE_ONCE, pgmR3SharedModuleRegRendezvous, NULL);
     
    172172    /* Queue the actual registration as we are under the IOM lock right now. Perform this operation on the way out. */
    173173    return VMR3ReqCallNoWait(pVM, VMMGetCpuId(pVM), (PFNRT)pgmR3CheckSharedModulesHelper, 1, pVM);
    174 #else 
     174#else
    175175    return VERR_NOT_IMPLEMENTED;
    176176#endif
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