VirtualBox

Changeset 23015 in vbox for trunk/src/VBox/Frontends/VBoxBFE


Ignore:
Timestamp:
Sep 14, 2009 5:00:11 PM (15 years ago)
Author:
vboxsync
Message:

VMM,Main,Devices,VBoxBFE: VMReqCallVoid[U] -> VMR3ReqCallVoidWait. Retired the two old APIs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxBFE/DisplayImpl.cpp

    r22277 r23015  
    349349    Assert(pVM);
    350350    /* pdm.h says that this has to be called from the EMT thread */
    351     PVMREQ pReq;
    352     int rcVBox = VMR3ReqCallVoid(pVM, VMCPUID_ANY, &pReq, RT_INDEFINITE_WAIT,
    353                                  (PFNRT)VMDisplay::doInvalidateAndUpdate, 1, mpDrv);
    354     if (RT_SUCCESS(rcVBox))
    355         VMR3ReqFree(pReq);
    356 
     351    int rcVBox = VMR3ReqCallVoidWait(pVM, VMCPUID_ANY,
     352                                     (PFNRT)VMDisplay::doInvalidateAndUpdate, 1, mpDrv);
    357353    if (RT_FAILURE(rcVBox))
    358354        rc = E_FAIL;
     
    11891185    if (!CFGMR3AreValuesValid(pCfgHandle, "Object\0"))
    11901186        return VERR_PDM_DRVINS_UNKNOWN_CFG_VALUES;
    1191     AssertMsgReturn(PDMDrvHlpNoAttach(pDrvIns) == VERR_PDM_NO_ATTACHED_DRIVER, 
     1187    AssertMsgReturn(PDMDrvHlpNoAttach(pDrvIns) == VERR_PDM_NO_ATTACHED_DRIVER,
    11921188                    ("Configuration error: Not possible to attach anything to this driver!\n"),
    11931189                    VERR_PDM_DRVINS_NO_ATTACH);
     
    12801276    NULL,
    12811277    /* pfnDetach */
    1282     NULL, 
     1278    NULL,
    12831279    /* pfnPowerOff */
    1284     NULL, 
     1280    NULL,
    12851281    /* pfnSoftReset */
    12861282    NULL,
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