VirtualBox

Ignore:
Timestamp:
Nov 18, 2018 4:50:34 AM (6 years ago)
Author:
vboxsync
Message:

VBoxGuest: Added an IDC interface for faster HGCM calls (VBGL_IOCTL_IDC_HGCM_FAST_CALL, VbglR0HGCMFastCall). This expects the caller to construct a valid call and only concerns itself with issuing it to the host and waiting for the result to arrive. bugref:9172

Location:
trunk/src/VBox/Additions/common/VBoxGuest/lib
Files:
2 edited

Legend:

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

    r72627 r75547  
    231231}
    232232
     233
     234DECLR0VBGL(int) VbglR0HGCMFastCall(VBGLHGCMHANDLE hHandle, PVBGLIOCIDCHGCMFASTCALL pCallReq, uint32_t cbCallReq)
     235{
     236    /* pCallReq->Hdr.rc and pCallReq->HgcmCallReq.header.header.rc; are not used by this IDC. */
     237    return VbglR0IdcCallRaw(&hHandle->IdcHandle, VBGL_IOCTL_IDC_HGCM_FAST_CALL, &pCallReq->Hdr, cbCallReq);
     238}
     239
  • trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibInternal.h

    r72627 r75547  
    107107typedef struct _VBGLPHYSHEAPCHUNK VBGLPHYSHEAPCHUNK;
    108108
    109 #ifndef VBGL_VBOXGUEST
    110 struct VBGLHGCMHANDLEDATA
    111 {
    112     uint32_t fAllocated;
    113     VBGLIDCHANDLE IdcHandle;
    114 };
    115 #endif
    116 
    117109enum VbglLibStatus
    118110{
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