VirtualBox

Changeset 12 in vbox


Ignore:
Timestamp:
Jan 15, 2007 12:06:52 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
17438
Message:

style

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp

    r1 r12  
    711711                if (RT_UNLIKELY(!(pCur->aHCPhys[iPage] & X86_PTE_PAE_PG_MASK)))
    712712                {
     713                    int rc;
    713714#ifdef IN_RING3
    714                     int rc;
    715 
    716                     if (fGrabbedLock)
    717                     {   
     715                    if (fGrabbedLock)
     716                    {
    718717                        pgmUnlock(pVM);
    719718                        rc = pgmr3PhysGrowRange(pVM, GCPhys);
     
    722721                        return;
    723722                    }
    724                     else
    725                         rc = pgmr3PhysGrowRange(pVM, GCPhys);
     723                    rc = pgmr3PhysGrowRange(pVM, GCPhys);
    726724#else
    727                     int rc = CTXALLMID(VMM, CallHost)(pVM, VMMCALLHOST_PGM_RAM_GROW_RANGE, GCPhys);
     725                    rc = CTXALLMID(VMM, CallHost)(pVM, VMMCALLHOST_PGM_RAM_GROW_RANGE, GCPhys);
    728726#endif
    729727                    if (rc != VINF_SUCCESS)
     
    980978                if (RT_UNLIKELY(!(pCur->aHCPhys[iPage] & X86_PTE_PAE_PG_MASK)))
    981979                {
     980                    int rc;
    982981#ifdef IN_RING3
    983                     int rc;
    984 
    985                     if (fGrabbedLock)
    986                     {   
     982                    if (fGrabbedLock)
     983                    {
    987984                        pgmUnlock(pVM);
    988985                        rc = pgmr3PhysGrowRange(pVM, GCPhys);
     
    991988                        return;
    992989                    }
    993                     else
    994                         rc = pgmr3PhysGrowRange(pVM, GCPhys);
     990                    rc = pgmr3PhysGrowRange(pVM, GCPhys);
    995991#else
    996                     int rc = CTXALLMID(VMM, CallHost)(pVM, VMMCALLHOST_PGM_RAM_GROW_RANGE, GCPhys);
     992                    rc = CTXALLMID(VMM, CallHost)(pVM, VMMCALLHOST_PGM_RAM_GROW_RANGE, GCPhys);
    997993#endif
    998994                    if (rc != VINF_SUCCESS)
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