VirtualBox

Changeset 23011 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Sep 14, 2009 3:57:38 PM (15 years ago)
Author:
vboxsync
Message:

VMM,VMMDev: Some VMMR3ReqCall refactoring.

Location:
trunk/src/VBox/Devices/VMMDev
Files:
2 edited

Legend:

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

    r22823 r23011  
    274274     * about something, which has already happened.
    275275     */
    276     rc = VMR3ReqCallEx(pVM, VMCPUID_ANY, NULL, 0, VMREQFLAGS_NO_WAIT | VMREQFLAGS_VOID,
    277                        (PFNRT) vmmdevNotifyGuest_EMT,
    278                        2, pVMMDevState, u32EventMask);
     276    rc = VMR3ReqCallEx(pVM, VMCPUID_ANY, NULL /*ppReq*/, 0 /*cMillies*/, VMREQFLAGS_NO_WAIT | VMREQFLAGS_VOID,
     277                       (PFNRT)vmmdevNotifyGuest_EMT, 2, pVMMDevState, u32EventMask);
    279278    AssertRC(rc);
    280279}
  • trunk/src/VBox/Devices/VMMDev/VMMDevHGCM.cpp

    r21561 r23011  
    20372037 *        efficient...? */
    20382038    /* Not safe to execute asynchroneously; forward to EMT */
    2039     int rc = VMR3ReqCallEx(PDMDevHlpGetVM(pVMMDevState->pDevIns), VMCPUID_ANY, NULL, 0, VMREQFLAGS_NO_WAIT | VMREQFLAGS_VOID,
     2039    int rc = VMR3ReqCallEx(PDMDevHlpGetVM(pVMMDevState->pDevIns), VMCPUID_ANY, NULL, 0 /*cMillies*/,
     2040                           VMREQFLAGS_NO_WAIT | VMREQFLAGS_VOID,
    20402041                           (PFNRT)hgcmCompletedWorker, 3, pInterface, result, pCmd);
    20412042    AssertRC(rc);
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