VirtualBox

Changeset 14150 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 12, 2008 11:24:49 PM (16 years ago)
Author:
vboxsync
Message:

PGM: HCPhysNestedRoot -> HCPhysShwNestedRoot

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

Legend:

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

    r14149 r14150  
    14581458    pVM->pgm.s.aHCPhysPaePDs[3] = MMPage2Phys(pVM, pVM->pgm.s.apShwPaePDsR3[3]);
    14591459    pVM->pgm.s.HCPhysShwPaePdpt = MMPage2Phys(pVM, pVM->pgm.s.pShwPaePdptR3);
    1460     pVM->pgm.s.HCPhysNestedRoot = MMPage2Phys(pVM, pVM->pgm.s.pShwNestedRootR3);
     1460    pVM->pgm.s.HCPhysShwNestedRoot = MMPage2Phys(pVM, pVM->pgm.s.pShwNestedRootR3);
    14611461
    14621462    /*
  • trunk/src/VBox/VMM/PGMInternal.h

    r14149 r14150  
    21112111#endif
    21122112    /** The Physical Address (HC) of the nested paging root. */
    2113     RTHCPHYS                        HCPhysNestedRoot;
     2113    RTHCPHYS                        HCPhysShwNestedRoot;
    21142114    /** @}  */
    21152115
  • trunk/src/VBox/VMM/PGMShw.h

    r13991 r14150  
    141141    Assert(HWACCMIsNestedPagingActive(pVM));
    142142
    143     Log(("Enter nested shadow paging mode: root %RHv phys %RHp\n", pVM->pgm.s.pShwNestedRootR3, pVM->pgm.s.HCPhysNestedRoot));
     143    Log(("Enter nested shadow paging mode: root %RHv phys %RHp\n", pVM->pgm.s.pShwNestedRootR3, pVM->pgm.s.HCPhysShwNestedRoot));
    144144    /* In non-nested mode we allocate the PML4 page on-demand; in nested mode we just use our fixed nested paging root. */
    145145    pVM->pgm.s.pShwPaePml4R3 = (R3PTRTYPE(PX86PML4))pVM->pgm.s.pShwNestedRootR3;
     
    147147    pVM->pgm.s.pShwPaePml4R0 = (R0PTRTYPE(PX86PML4))pVM->pgm.s.pShwNestedRootR0;
    148148# endif
    149     pVM->pgm.s.HCPhysPaePML4 = pVM->pgm.s.HCPhysNestedRoot;
     149    pVM->pgm.s.HCPhysPaePML4 = pVM->pgm.s.HCPhysShwNestedRoot;
    150150#endif
    151151    return VINF_SUCCESS;
  • trunk/src/VBox/VMM/VMMAll/PGMAll.cpp

    r14149 r14150  
    10661066
    10671067# ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0
    1068     rc = PGM_HCPHYS_2_PTR(pVM, pPGM->HCPhysNestedRoot, &pPml4);
     1068    rc = PGM_HCPHYS_2_PTR(pVM, pPGM->HCPhysShwNestedRoot, &pPml4);
    10691069    AssertRCReturn(rc, rc);
    10701070# else
     
    12681268
    12691269        case PGMMODE_EPT:
    1270             return pVM->pgm.s.HCPhysNestedRoot;
     1270            return pVM->pgm.s.HCPhysShwNestedRoot;
    12711271
    12721272        case PGMMODE_NESTED:
     
    13141314VMMDECL(RTHCPHYS) PGMGetEPTCR3(PVM pVM)
    13151315{
    1316     return pVM->pgm.s.HCPhysNestedRoot;
     1316    return pVM->pgm.s.HCPhysShwNestedRoot;
    13171317}
    13181318
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