VirtualBox

Changeset 76196 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Dec 12, 2018 7:24:05 PM (6 years ago)
Author:
vboxsync
Message:

VMMDev/HGCM,VBoxGuest: New page list variant for more effectively passing physical contiguous buffers (VbglR0PhysHeapAlloc, kmalloc, ++). bugref:9172

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibHGCMInternal.cpp

    r75753 r76196  
    218218
    219219            case VMMDevHGCMParmType_PageList:
     220            case VMMDevHGCMParmType_ContiguousPageList:
    220221                if (fIsUser)
    221222                    return VERR_INVALID_PARAMETER;
     
    553554
    554555            case VMMDevHGCMParmType_PageList:
    555                 pDstParm->type = VMMDevHGCMParmType_PageList;
     556            case VMMDevHGCMParmType_ContiguousPageList:
     557                pDstParm->type = pSrcParm->type;
    556558                pDstParm->u.PageList.size = pSrcParm->u.PageList.size;
    557559                if (pSrcParm->u.PageList.size)
     
    857859
    858860            case VMMDevHGCMParmType_PageList:
     861            case VMMDevHGCMParmType_ContiguousPageList:
    859862                pDstParm->u.PageList.size = pSrcParm->u.PageList.size;
    860863                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