VirtualBox

Changeset 60779 in vbox


Ignore:
Timestamp:
May 2, 2016 8:50:50 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
106977
Message:

IEM: Fixed cross page CR2 value.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAll.cpp

    r60776 r60779  
    67276727        return rcStrict;
    67286728
    6729 /** @todo Testcase & AMD-V/VT-x verification: Check if CR2 should really be the
    6730  *        last byte. */
    67316729    RTGCPHYS GCPhysSecond;
    6732     rcStrict = iemMemPageTranslateAndCheckAccess(pIemCpu, GCPtrFirst + (cbMem - 1), fAccess, &GCPhysSecond);
     6730    rcStrict = iemMemPageTranslateAndCheckAccess(pIemCpu, (GCPtrFirst + (cbMem - 1)) & ~(RTGCPTR)PAGE_OFFSET_MASK,
     6731                                                 fAccess, &GCPhysSecond);
    67336732    if (rcStrict != VINF_SUCCESS)
    67346733        return rcStrict;
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