VirtualBox

Changeset 86488 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Oct 8, 2020 8:32:24 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
140799
Message:

VMM/PGM: Working on eliminating page table bitfield use (32-bit PDEs). bugref:9841 bugref:9746

File:
1 edited

Legend:

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

    r86473 r86488  
    23452345    {
    23462346        X86PDE PdeSrc = pPDSrc->a[iPD];
    2347         if (PdeSrc.n.u1Present)
     2347        if (PdeSrc.u & X86_PDE_P)
    23482348        {
    2349             if (PdeSrc.b.u1Size && fPSE)
     2349            if ((PdeSrc.u & X86_PDE_PS) && fPSE)
    23502350                pHlp->pfnPrintf(pHlp,
    23512351                                "%04X - %RGp P=%d U=%d RW=%d G=%d - BIG\n",
    23522352                                iPD,
    2353                                 pgmGstGet4MBPhysPage(pVM, PdeSrc),
    2354                                 PdeSrc.b.u1Present, PdeSrc.b.u1User, PdeSrc.b.u1Write, PdeSrc.b.u1Global && fPGE);
     2353                                pgmGstGet4MBPhysPage(pVM, PdeSrc), PdeSrc.u & X86_PDE_P, !!(PdeSrc.u & X86_PDE_US),
     2354                                !!(PdeSrc.u & X86_PDE_RW), (PdeSrc.u & X86_PDE4M_G) && fPGE);
    23552355            else
    23562356                pHlp->pfnPrintf(pHlp,
    23572357                                "%04X - %RGp P=%d U=%d RW=%d [G=%d]\n",
    23582358                                iPD,
    2359                                 (RTGCPHYS)(PdeSrc.u & X86_PDE_PG_MASK),
    2360                                 PdeSrc.n.u1Present, PdeSrc.n.u1User, PdeSrc.n.u1Write, PdeSrc.b.u1Global && fPGE);
     2359                                (RTGCPHYS)(PdeSrc.u & X86_PDE_PG_MASK), PdeSrc.u & X86_PDE_P, !!(PdeSrc.u & X86_PDE_US),
     2360                                !!(PdeSrc.u & X86_PDE_RW), (PdeSrc.u & X86_PDE4M_G) && fPGE);
    23612361        }
    23622362    }
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette