VirtualBox

Changeset 15941 in vbox for trunk


Ignore:
Timestamp:
Jan 14, 2009 1:19:52 PM (16 years ago)
Author:
vboxsync
Message:

use new PDMDrv helpers

Location:
trunk/src/VBox/Devices
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/audio.c

    r11269 r15941  
    203203
    204204    s = &glob_audio_state;
    205     return s->pDrvIns->pDrvHlp->pfnTMGetVirtualTime (s->pDrvIns);
     205    return PDMDrvHlpTMGetVirtualTime (s->pDrvIns);
    206206}
    207207
     
    211211
    212212    s = &glob_audio_state;
    213     return s->pDrvIns->pDrvHlp->pfnTMGetVirtualFreq (s->pDrvIns);
     213    return PDMDrvHlpTMGetVirtualFreq (s->pDrvIns);
    214214}
    215215
     
    16261626    LIST_INIT (&s->cap_head);
    16271627
    1628     rc = pDrvIns->pDrvHlp->pfnTMTimerCreate (pDrvIns, TMCLOCK_VIRTUAL,
    1629                                              audio_timer_helper, "Audio timer", &s->ts);
     1628    rc = PDMDrvHlpTMTimerCreate (pDrvIns, TMCLOCK_VIRTUAL,
     1629                                 audio_timer_helper, "Audio timer", &s->ts);
    16301630    if (RT_FAILURE (rc))
    16311631        return rc;
  • trunk/src/VBox/Devices/Input/DrvKeyboardQueue.cpp

    r11286 r15941  
    319319    }
    320320
    321     rc = pDrvIns->pDrvHlp->pfnPDMQueueCreate(pDrvIns, sizeof(DRVKBDQUEUEITEM), cItems, cMilliesInterval, drvKbdQueueConsumer, &pDrv->pQueue);
     321    rc = PDMDrvHlpPDMQueueCreate(pDrvIns, sizeof(DRVKBDQUEUEITEM), cItems, cMilliesInterval, drvKbdQueueConsumer, &pDrv->pQueue);
    322322    if (RT_FAILURE(rc))
    323323    {
  • trunk/src/VBox/Devices/Input/DrvMouseQueue.cpp

    r11286 r15941  
    305305    }
    306306
    307     rc = pDrvIns->pDrvHlp->pfnPDMQueueCreate(pDrvIns, sizeof(DRVMOUSEQUEUEITEM), cItems, cMilliesInterval, drvMouseQueueConsumer, &pDrv->pQueue);
     307    rc = PDMDrvHlpPDMQueueCreate(pDrvIns, sizeof(DRVMOUSEQUEUEITEM), cItems, cMilliesInterval, drvMouseQueueConsumer, &pDrv->pQueue);
    308308    if (RT_FAILURE(rc))
    309309    {
  • trunk/src/VBox/Devices/Network/DrvNAT.cpp

    r15914 r15941  
    815815            }
    816816
    817             rc = pDrvIns->pDrvHlp->pfnPDMQueueCreate(pDrvIns, sizeof(DRVNATQUEUITEM), 50, 0, drvNATQueueConsumer, &pThis->pSendQueue);
     817            rc = PDMDrvHlpPDMQueueCreate(pDrvIns, sizeof(DRVNATQUEUITEM), 50, 0, drvNATQueueConsumer, &pThis->pSendQueue);
    818818            if (RT_FAILURE(rc))
    819819            {
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