VirtualBox

Changeset 71720 in vbox for trunk/src/VBox/VMM/VMMRC


Ignore:
Timestamp:
Apr 6, 2018 6:51:44 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
121819
Message:

PATM: Don't try pass stuff to patmRCVirtPagePfHandle that's not needed, as it seems the page address (pPage) isn't a hypervisor address, but guest one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMRC/PATMRC.cpp

    r69111 r71720  
    4747 *      PATM all access handler callback.}
    4848 *
    49  * @remarks The @a pvUser argument is the base address of the page being
    50  *          monitored.
     49 * @remarks pvUser is NULL.
    5150 */
    5251DECLEXPORT(VBOXSTRICTRC) patmRCVirtPagePfHandler(PVM pVM, PVMCPU pVCpu, RTGCUINT uErrorCode, PCPUMCTXCORE pCtxCore,
     
    5453{
    5554    NOREF(pVCpu); NOREF(uErrorCode); NOREF(pCtxCore); NOREF(pvFault); NOREF(pvRange); NOREF(offRange); RT_NOREF_PV(pvUser);
    56 
    57     Assert(pvUser);
    58     Assert(!((uintptr_t)pvUser & PAGE_OFFSET_MASK));
    59     Assert(((uintptr_t)pvUser + (pvFault & PAGE_OFFSET_MASK)) == pvRange + offRange);
    6055
    6156    pVM->patm.s.pvFaultMonitor = (RTRCPTR)(pvRange + offRange);
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