VirtualBox

Changeset 75500 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Nov 16, 2018 1:24:39 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
126657
Message:

VMMDev,Main,HostServices: More profiling of HGCM guest call processing.

Location:
trunk/include/VBox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/HostServices/Service.h

    r74205 r75500  
    325325                                      uint32_t u32Function,
    326326                                      uint32_t cParms,
    327                                       VBOXHGCMSVCPARM paParms[])
     327                                      VBOXHGCMSVCPARM paParms[],
     328                                      uint64_t tsArrival)
    328329    {
    329330        AssertLogRelReturnVoid(VALID_PTR(pvService));
     
    332333        pSelf->guestCall(callHandle, u32ClientID, pvClient, u32Function, cParms, paParms);
    333334        LogFlowFunc(("returning\n"));
     335        RT_NOREF_PV(tsArrival);
    334336    }
    335337
  • trunk/include/VBox/hgcmsvc.h

    r75495 r75500  
    6565 * 4.2->5.1 Removed the VBOX_HGCM_SVC_PARM_CALLBACK parameter type, as
    6666 *          this problem is already solved by service extension callbacks
     67 * 5.1->6.1 Because pfnCall got a new parameter. Also new helpers. (VBox 6.0)
    6768 */
    68 #define VBOX_HGCM_SVC_VERSION_MAJOR (0x0005)
     69#define VBOX_HGCM_SVC_VERSION_MAJOR (0x0006)
    6970#define VBOX_HGCM_SVC_VERSION_MINOR (0x0001)
    7071#define VBOX_HGCM_SVC_VERSION ((VBOX_HGCM_SVC_VERSION_MAJOR << 16) + VBOX_HGCM_SVC_VERSION_MINOR)
     
    473474     */
    474475    DECLR3CALLBACKMEMBER(void, pfnCall, (void *pvService, VBOXHGCMCALLHANDLE callHandle, uint32_t u32ClientID, void *pvClient,
    475                                          uint32_t function, uint32_t cParms, VBOXHGCMSVCPARM paParms[]));
     476                                         uint32_t function, uint32_t cParms, VBOXHGCMSVCPARM paParms[], uint64_t tsArrival));
    476477
    477478    /** Host Service entry point meant for privileged features invisible to the guest.
  • trunk/include/VBox/vmm/pdmifs.h

    r75406 r75500  
    21262126     * Process a guest issued command.
    21272127     *
    2128      * @param   pInterface          Pointer to this interface.
    2129      * @param   pCmd                A pointer that identifies the command.
    2130      * @param   u32ClientID         The client id returned by the pfnConnect call.
    2131      * @param   u32Function         Function to be performed by the service.
    2132      * @param   cParms              Number of parameters in the array pointed to by paParams.
    2133      * @param   paParms             Pointer to an array of parameters.
     2128     * @param   pInterface  Pointer to this interface.
     2129     * @param   pCmd        A pointer that identifies the command.
     2130     * @param   u32ClientID The client id returned by the pfnConnect call.
     2131     * @param   u32Function Function to be performed by the service.
     2132     * @param   cParms      Number of parameters in the array pointed to by paParams.
     2133     * @param   paParms     Pointer to an array of parameters.
     2134     * @param   tsArrival   The STAM_GET_TS() value when the request arrived.
    21342135     * @return  VBox status code.
    21352136     * @thread  The emulation thread.
    21362137     */
    21372138    DECLR3CALLBACKMEMBER(int, pfnCall,(PPDMIHGCMCONNECTOR pInterface, PVBOXHGCMCMD pCmd, uint32_t u32ClientID, uint32_t u32Function,
    2138                                        uint32_t cParms, PVBOXHGCMSVCPARM paParms));
     2139                                       uint32_t cParms, PVBOXHGCMSVCPARM paParms, uint64_t tsArrival));
    21392140
    21402141} PDMIHGCMCONNECTOR;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette