VirtualBox

Changeset 13134 in vbox


Ignore:
Timestamp:
Oct 9, 2008 2:24:07 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
37637
Message:

EPT: set the ignore PAT and WB cache flags in page table entries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r13126 r13134  
    14281428                {
    14291429#if PGM_SHW_TYPE == PGM_TYPE_EPT
    1430                     PteDst.u           = (HCPhys & EPT_PTE_PG_MASK);
    1431                     PteDst.n.u1Present = 1;
    1432                     PteDst.n.u1Execute = 1;
     1430                    PteDst.u             = (HCPhys & EPT_PTE_PG_MASK);
     1431                    PteDst.n.u1Present   = 1;
     1432                    PteDst.n.u1Execute   = 1;
     1433                    PteDst.n.u1IgnorePAT = 1;
     1434                    PteDst.n.u3EMT       = VMX_EPT_MEMTYPE_WB;
    14331435                    /* PteDst.n.u1Write = 0 && PteDst.n.u1Big = 0 */
    14341436#else
     
    14741476                    STAM_COUNTER_INC(&pVM->pgm.s.CTX_MID_Z(Stat,DirtyPageSkipped));
    14751477#if PGM_SHW_TYPE == PGM_TYPE_EPT
    1476                     PteDst.u           = (HCPhys & EPT_PTE_PG_MASK);
    1477                     PteDst.n.u1Present = 1;
    1478                     PteDst.n.u1Write   = 1;
    1479                     PteDst.n.u1Execute = 1;
     1478                    PteDst.u             = (HCPhys & EPT_PTE_PG_MASK);
     1479                    PteDst.n.u1Present   = 1;
     1480                    PteDst.n.u1Write     = 1;
     1481                    PteDst.n.u1Execute   = 1;
     1482                    PteDst.n.u1IgnorePAT = 1;
     1483                    PteDst.n.u3EMT       = VMX_EPT_MEMTYPE_WB;
    14801484                    /* PteDst.n.u1Big = 0 */
    14811485#else
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