VirtualBox

Changeset 16552 in vbox for trunk/src/VBox/VMM/PATM


Ignore:
Timestamp:
Feb 6, 2009 3:41:53 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
42493
Message:

Ignore patch writes that don't change anything

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PATM/CSAM.cpp

    r14755 r16552  
    19431943    Log(("CSAMCodePageWriteHandler: write to %RGv size=%zu\n", GCPtr, cbBuf));
    19441944
     1945    if (    PAGE_ADDRESS(pvPtr) == PAGE_ADDRESS((uintptr_t)pvPtr + cbBuf - 1)
     1946         && !memcmp(pvPtr, pvBuf, cbBuf))
     1947    {
     1948        Log(("CSAMCodePageWriteHandler: dummy write -> ignore\n"));
     1949        return VINF_PGM_HANDLER_DO_DEFAULT;
     1950    }
     1951
    19451952    if (VM_IS_EMT(pVM))
    19461953    {
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