VirtualBox

Changeset 76664 in vbox


Ignore:
Timestamp:
Jan 7, 2019 4:17:13 AM (6 years ago)
Author:
vboxsync
Message:

VMMDevHGCM: Fixed bug in copy-back of the new VMMDevHGCMParmType_ContiguousPageList parameter type. bugref:9172

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/VMMDev/VMMDevHGCM.cpp

    r76553 r76664  
    12821282                    uint32_t    cbSrc    = pHostParm->u.pointer.size;
    12831283                    uint32_t    cbToCopy = RT_MIN(cbSrc, pPtr->cbData);
    1284                     int rc = PDMDevHlpPhysWrite(pThis->pDevInsR3, pGuestParm->u.ptr.paPages[0], pvSrc, cbToCopy);
     1284                    int rc = PDMDevHlpPhysWrite(pThis->pDevInsR3, pGuestParm->u.ptr.paPages[0] | pGuestParm->u.ptr.offFirstPage,
     1285                                                pvSrc, cbToCopy);
    12851286                    if (RT_FAILURE(rc))
    12861287                        break;
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