VirtualBox

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


Ignore:
Timestamp:
Mar 7, 2017 4:32:11 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
113815
Message:

PGMR3ChangeMode: Use X86_CR3_AMD64_PAGE_MASK.

File:
1 edited

Legend:

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

    r65940 r65985  
    36873687        case PGMMODE_AMD64_NX:
    36883688        case PGMMODE_AMD64:
    3689             GCPhysCR3 = CPUMGetGuestCR3(pVCpu) & UINT64_C(0xfffffffffffff000); /** @todo define this mask! */
     3689            GCPhysCR3 = CPUMGetGuestCR3(pVCpu) & X86_CR3_AMD64_PAGE_MASK;
    36903690            rc = PGM_GST_NAME_AMD64(Enter)(pVCpu, GCPhysCR3);
    36913691            switch (pVCpu->pgm.s.enmShadowMode)
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