VirtualBox

Changeset 11531 in vbox for trunk/src


Ignore:
Timestamp:
Aug 21, 2008 10:10:09 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
35096
Message:

Missing changes for PSE-36 support.

File:
1 edited

Legend:

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

    r11525 r11531  
    262262        }
    263263        if (pGCPhys)
    264             *pGCPhys = (Pde.u & GST_PDE_BIG_PG_MASK) | (GCPtr & (~GST_PDE_BIG_PG_MASK ^ ~GST_PTE_PG_MASK)); /** @todo pse36 */
     264            *pGCPhys = GST_GET_PDE_BIG_PG_GCPHYS(Pde) | (GCPtr & (~GST_PDE_BIG_PG_MASK ^ ~GST_PTE_PG_MASK));
    265265    }
    266266    return VINF_SUCCESS;
     
    355355             * 4MB Page table
    356356             */
     357# if PGM_GST_TYPE == PGM_TYPE_32BIT
     358            Pde.u = (Pde.u & (fMask | ((fMask & X86_PTE_PAT) << X86_PDE4M_PAT_SHIFT) | GST_PDE_BIG_PG_MASK | X86_PDE4M_PG_HIGH_MASK | X86_PDE4M_PS))
     359# else
    357360            Pde.u = (Pde.u & (fMask | ((fMask & X86_PTE_PAT) << X86_PDE4M_PAT_SHIFT) | GST_PDE_BIG_PG_MASK | X86_PDE4M_PS)) /** @todo pse36 */
     361# endif
    358362                  | (fFlags & ~GST_PTE_PG_MASK)
    359363                  | ((fFlags & X86_PTE_PAT) << X86_PDE4M_PAT_SHIFT);
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