VirtualBox

Changeset 56611 in vbox


Ignore:
Timestamp:
Jun 23, 2015 10:29:22 PM (9 years ago)
Author:
vboxsync
Message:

IOM/INSEx: Must dirty the page.

File:
1 edited

Legend:

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

    r56607 r56611  
    23732373                Assert(cThisTime <= cMaxThisTime); /* cThisTime is now how many transfers we have left. */
    23742374
     2375                uint32_t const cActual  = cMaxThisTime - cThisTime;
     2376                if (cActual)
     2377                {   /* Must dirty the page.  */
     2378                    uint8_t b = *(uint8_t *)pvDst;
     2379                    iomRamWrite(pVCpu, pRegFrame, GCPtrDst, &b, 1);
     2380                }
     2381
    23752382                PGMPhysReleasePageMappingLock(pVM, &Lock);
    23762383
    2377                 uint32_t const cActual  = cMaxThisTime - cThisTime;
    23782384                uint32_t const cbActual = cActual * cbTransfer;
    23792385                cTransfers    -= cActual;
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