VirtualBox

Changeset 14149 in vbox for trunk/src/VBox


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

PGM: HCPhysPaePDPT -> HCPhysShwPaePdpt.

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

Legend:

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

    r14148 r14149  
    14511451
    14521452    /* get physical addresses. */
    1453     pVM->pgm.s.HCPhysShw32BitPD    = MMPage2Phys(pVM, pVM->pgm.s.pShw32BitPdR3);
     1453    pVM->pgm.s.HCPhysShw32BitPD = MMPage2Phys(pVM, pVM->pgm.s.pShw32BitPdR3);
    14541454    Assert(MMPagePhys2Page(pVM, pVM->pgm.s.HCPhysShw32BitPD) == pVM->pgm.s.pShw32BitPdR3);
    14551455    pVM->pgm.s.aHCPhysPaePDs[0] = MMPage2Phys(pVM, pVM->pgm.s.apShwPaePDsR3[0]);
     
    14571457    pVM->pgm.s.aHCPhysPaePDs[2] = MMPage2Phys(pVM, pVM->pgm.s.apShwPaePDsR3[2]);
    14581458    pVM->pgm.s.aHCPhysPaePDs[3] = MMPage2Phys(pVM, pVM->pgm.s.apShwPaePDsR3[3]);
    1459     pVM->pgm.s.HCPhysPaePDPT    = MMPage2Phys(pVM, pVM->pgm.s.pShwPaePdptR3);
     1459    pVM->pgm.s.HCPhysShwPaePdpt = MMPage2Phys(pVM, pVM->pgm.s.pShwPaePdptR3);
    14601460    pVM->pgm.s.HCPhysNestedRoot = MMPage2Phys(pVM, pVM->pgm.s.pShwNestedRootR3);
    14611461
     
    15141514        LogFlow(("pgmR3InitPaging: returns successfully\n"));
    15151515#if HC_ARCH_BITS == 64
    1516         LogRel(("Debug: HCPhysShw32BitPD=%RHp aHCPhysPaePDs={%RHp,%RHp,%RHp,%RHp} HCPhysPaePDPT=%RHp HCPhysPaePML4=%RHp\n",
     1516        LogRel(("Debug: HCPhysShw32BitPD=%RHp aHCPhysPaePDs={%RHp,%RHp,%RHp,%RHp} HCPhysShwPaePdpt=%RHp HCPhysPaePML4=%RHp\n",
    15171517                pVM->pgm.s.HCPhysShw32BitPD,
    15181518                pVM->pgm.s.aHCPhysPaePDs[0], pVM->pgm.s.aHCPhysPaePDs[1], pVM->pgm.s.aHCPhysPaePDs[2], pVM->pgm.s.aHCPhysPaePDs[3],
    1519                 pVM->pgm.s.HCPhysPaePDPT,
     1519                pVM->pgm.s.HCPhysShwPaePdpt,
    15201520                pVM->pgm.s.HCPhysPaePML4));
    15211521        LogRel(("Debug: HCPhysInterPD=%RHp HCPhysInterPaePDPT=%RHp HCPhysInterPaePML4=%RHp\n",
     
    18351835    GCPtr += PAGE_SIZE; /* reserved page */
    18361836
    1837     rc = PGMMap(pVM, GCPtr, pVM->pgm.s.HCPhysPaePDPT, PAGE_SIZE, 0);
     1837    rc = PGMMap(pVM, GCPtr, pVM->pgm.s.HCPhysShwPaePdpt, PAGE_SIZE, 0);
    18381838    AssertRCReturn(rc, rc);
    18391839    pVM->pgm.s.pShwPaePdptRC = GCPtr;
  • trunk/src/VBox/VMM/PGMInternal.h

    r14148 r14149  
    20732073    RTHCPHYS                        aHCPhysPaePDs[4];
    20742074    /** The Physical Address (HC) of the PAE PDPT. */
    2075     RTHCPHYS                        HCPhysPaePDPT;
     2075    RTHCPHYS                        HCPhysShwPaePdpt;
    20762076    /** The PAE PDPT - R3 Ptr. */
    20772077    R3PTRTYPE(PX86PDPT)             pShwPaePdptR3;
     
    38813881#ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0
    38823882    PX86PDPT pShwPdpt;
    3883     Assert(pPGM->HCPhysPaePDPT != 0 && pPGM->HCPhysPaePDPT != NIL_RTHCPHYS);
    3884     int rc = PGM_HCPHYS_2_PTR(PGM2VM(pPGM), pPGM->HCPhysPaePDPT, &pShwPdpt);
     3883    Assert(pPGM->HCPhysShwPaePdpt != 0 && pPGM->HCPhysShwPaePdpt != NIL_RTHCPHYS);
     3884    int rc = PGM_HCPHYS_2_PTR(PGM2VM(pPGM), pPGM->HCPhysShwPaePdpt, &pShwPdpt);
    38853885    AssertRCReturn(rc, 0);
    38863886    return pShwPdpt;
  • trunk/src/VBox/VMM/VMMAll/PGMAll.cpp

    r14148 r14149  
    12611261        case PGMMODE_PAE:
    12621262        case PGMMODE_PAE_NX:
    1263             return pVM->pgm.s.HCPhysPaePDPT;
     1263            return pVM->pgm.s.HCPhysShwPaePdpt;
    12641264
    12651265        case PGMMODE_AMD64:
     
    12941294        case PGMMODE_PAE:
    12951295        case PGMMODE_PAE_NX:
    1296             return pVM->pgm.s.HCPhysPaePDPT;
     1296            return pVM->pgm.s.HCPhysShwPaePdpt;
    12971297
    12981298        case PGMMODE_AMD64:
     
    13361336VMMDECL(RTHCPHYS) PGMGetHyperPaeCR3(PVM pVM)
    13371337{
    1338     return pVM->pgm.s.HCPhysPaePDPT;
     1338    return pVM->pgm.s.HCPhysShwPaePdpt;
    13391339}
    13401340
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r14148 r14149  
    150150            break;
    151151        case PGMPOOL_IDX_PDPT:
    152             HCPhys = pVM->pgm.s.HCPhysPaePDPT;
     152            HCPhys = pVM->pgm.s.HCPhysShwPaePdpt;
    153153            break;
    154154        default:
  • trunk/src/VBox/VMM/testcase/tstVMStructGC.cpp

    r14148 r14149  
    428428    GEN_CHECK_OFF(PGM, pShwPaePdptR0);
    429429    GEN_CHECK_OFF(PGM, pShwPaePdptRC);
    430     GEN_CHECK_OFF(PGM, HCPhysPaePDPT);
     430    GEN_CHECK_OFF(PGM, HCPhysShwPaePdpt);
    431431    GEN_CHECK_OFF(PGM, pShwPaePml4R3);
    432432#ifndef VBOX_WITH_2X_4GB_ADDR_SPACE
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