VirtualBox

Changeset 8625 in vbox for trunk


Ignore:
Timestamp:
May 6, 2008 1:25:07 PM (17 years ago)
Author:
vboxsync
Message:

trailing spaces.

File:
1 edited

Legend:

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

    r8155 r8625  
    275275 */
    276276/** @todo rename this to PGMR3HandlerVirtualRegisterEx. */
    277 /** @todo create a template for virtual handlers (see async i/o), we're wasting space 
     277/** @todo create a template for virtual handlers (see async i/o), we're wasting space
    278278 * duplicating the function pointers now. (Or we will once we add the missing callbacks.) */
    279279PGMDECL(int) PGMHandlerVirtualRegisterEx(PVM pVM, PGMVIRTHANDLERTYPE enmType, RTGCPTR GCPtr, RTGCPTR GCPtrLast,
     
    356356     * the same range this makes everything much simpler and faster.
    357357     */
    358     AVLROGCPTRTREE *pRoot = enmType != PGMVIRTHANDLERTYPE_HYPERVISOR 
     358    AVLROGCPTRTREE *pRoot = enmType != PGMVIRTHANDLERTYPE_HYPERVISOR
    359359                          ? &pVM->pgm.s.CTXSUFF(pTrees)->VirtHandlers
    360360                          : &pVM->pgm.s.CTXSUFF(pTrees)->HyperVirtHandlers;
     
    363363    {
    364364        PPGMVIRTHANDLER pCur = (PPGMVIRTHANDLER)RTAvlroGCPtrGetBestFit(pRoot, pNew->Core.Key, true);
    365         if (    !pCur 
    366             ||  GCPtr     > pCur->GCPtrLast 
     365        if (    !pCur
     366            ||  GCPtr     > pCur->GCPtrLast
    367367            ||  GCPtrLast < pCur->GCPtr)
    368368            pCur = (PPGMVIRTHANDLER)RTAvlroGCPtrGetBestFit(pRoot, pNew->Core.Key, false);
    369         if (    pCur 
    370             &&  GCPtr     <= pCur->GCPtrLast 
     369        if (    pCur
     370            &&  GCPtr     <= pCur->GCPtrLast
    371371            &&  GCPtrLast >= pCur->GCPtr)
    372372        {
     
    488488
    489489    pgmUnlock(pVM);
    490    
     490
    491491    STAM_DEREG(pVM, &pCur->Stat);
    492492    MMHyperFree(pVM, pCur);
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