VirtualBox

Changeset 32043 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 27, 2010 11:47:17 AM (14 years ago)
Author:
vboxsync
Message:

PGM: Re-enabled the code that previously cause w7-64 regressions. (We no longer sync any unncessary bits.)

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGMInternal.h

    r32036 r32043  
    421421 * @{
    422422 */
    423 #if 0
     423#if 1
    424424/**
    425425 * For making sure that u1Present and X86_PTE_P checks doesn't mistake
  • trunk/src/VBox/VMM/PGMPool.cpp

    r32036 r32043  
    868868                    for (unsigned iShw = 0; iShw < RT_ELEMENTS(uShw.pPTPae->a); iShw++)
    869869                    {
    870                         if (uShw.pPTPae->a[iShw].n.u1Present)
    871                             uShw.pPTPae->a[iShw].n.u1Write = 0;
     870                        if (PGMSHWPTEPAE_IS_P(uShw.pPTPae->a[iShw]))
     871                            PGMSHWPTEPAE_SET_RO(uShw.pPTPae->a[iShw]);
    872872                    }
    873873                    break;
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r32040 r32043  
    30713071            }
    30723072
    3073 #if 1 /** @todo FIXME r64700 regression? */
    3074             if ((PGMSHWPTEPAE_GET_U(pPT->a[iPte]) & (X86_PTE_PAE_PG_MASK | X86_PTE_P)) == u64)
    3075 #else
    30763073            if ((PGMSHWPTEPAE_GET_U(pPT->a[iPte]) & (X86_PTE_PAE_PG_MASK | X86_PTE_P | X86_PTE_PAE_MBZ_MASK_NX)) == u64)
    3077 #endif
    30783074            {
    30793075                X86PTEPAE Pte;
     
    30923088            Log(("Found %RX64 expected %RX64\n", PGMSHWPTEPAE_GET_U(pPT->a[iPte]) & (X86_PTE_PAE_PG_MASK | X86_PTE_P | X86_PTE_PAE_MBZ_MASK_NX), u64));
    30933089            for (unsigned i = 0, cFound = 0; i < RT_ELEMENTS(pPT->a); i++)
    3094 # if 1 /** @todo FIXME r64700 regression? */
    3095                 if ((PGMSHWPTEPAE_GET_U(pPT->a[i]) & (X86_PTE_PAE_PG_MASK | X86_PTE_P)) == u64)
    3096 # else
    30973090                if ((PGMSHWPTEPAE_GET_U(pPT->a[i]) & (X86_PTE_PAE_PG_MASK | X86_PTE_P | X86_PTE_PAE_MBZ_MASK_NX)) == u64)
    3098 # endif
    30993091                    Log(("i=%d cFound=%d\n", i, ++cFound));
    31003092#endif
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