VirtualBox

Changeset 11307 in vbox for trunk/src


Ignore:
Timestamp:
Aug 8, 2008 11:08:56 PM (16 years ago)
Author:
vboxsync
Message:

VBoxBFE: PDMINS2DATA -> PDMINS_2_DATA.

Location:
trunk/src/VBox/Frontends/VBoxBFE
Files:
5 edited

Legend:

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

    r8155 r11307  
    148148        LogFlow(("VMDisplay::handleDisplayResize: external framebuffer wants us to wait!\n"));
    149149
    150         /* Note: The previously obtained framebuffer lock must be preserved. 
     150        /* Note: The previously obtained framebuffer lock must be preserved.
    151151         *       The EMT keeps the framebuffer lock until the resize process completes.
    152152         */
     
    178178        /* Framebuffer has completed the resize. Update the connector data. */
    179179        updateDisplayData();
    180    
     180
    181181        mpDrv->pUpPort->pfnSetRenderVRAM (mpDrv->pUpPort, true);
    182182
     
    489489
    490490    uint32_t u32ResizeStatus = pDisplay->mu32ResizeStatus;
    491    
     491
    492492    if (u32ResizeStatus == ResizeStatus_UpdateDisplayData)
    493493    {
     
    11881188{
    11891189    PPDMDRVINS pDrvIns = PDMIBASE_2_PDMDRV(pInterface);
    1190     PDRVMAINDISPLAY pDrv = PDMINS2DATA(pDrvIns, PDRVMAINDISPLAY);
     1190    PDRVMAINDISPLAY pDrv = PDMINS_2_DATA(pDrvIns, PDRVMAINDISPLAY);
    11911191    switch (enmInterface)
    11921192    {
     
    12131213DECLCALLBACK(int) VMDisplay::drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfgHandle)
    12141214{
    1215     PDRVMAINDISPLAY pData = PDMINS2DATA(pDrvIns, PDRVMAINDISPLAY);
     1215    PDRVMAINDISPLAY pData = PDMINS_2_DATA(pDrvIns, PDRVMAINDISPLAY);
    12161216    LogFlow(("VMDisplay::drvConstruct: iInstance=%d\n", pDrvIns->iInstance));
    12171217
  • trunk/src/VBox/Frontends/VBoxBFE/KeyboardImpl.cpp

    r8155 r11307  
    168168{
    169169    PPDMDRVINS pDrvIns = PDMIBASE_2_PDMDRV(pInterface);
    170     PDRVMAINKEYBOARD pDrv = PDMINS2DATA(pDrvIns, PDRVMAINKEYBOARD);
     170    PDRVMAINKEYBOARD pDrv = PDMINS_2_DATA(pDrvIns, PDRVMAINKEYBOARD);
    171171    switch (enmInterface)
    172172    {
     
    189189DECLCALLBACK(void) Keyboard::drvDestruct(PPDMDRVINS pDrvIns)
    190190{
    191     PDRVMAINKEYBOARD pData = PDMINS2DATA(pDrvIns, PDRVMAINKEYBOARD);
     191    PDRVMAINKEYBOARD pData = PDMINS_2_DATA(pDrvIns, PDRVMAINKEYBOARD);
    192192    LogFlow(("Keyboard::drvDestruct: iInstance=%d\n", pDrvIns->iInstance));
    193193    if (pData->pKeyboard)
     
    218218DECLCALLBACK(int) Keyboard::drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfgHandle)
    219219{
    220     PDRVMAINKEYBOARD pData = PDMINS2DATA(pDrvIns, PDRVMAINKEYBOARD);
     220    PDRVMAINKEYBOARD pData = PDMINS_2_DATA(pDrvIns, PDRVMAINKEYBOARD);
    221221    LogFlow(("Keyboard::drvConstruct: iInstance=%d\n", pDrvIns->iInstance));
    222222
  • trunk/src/VBox/Frontends/VBoxBFE/MouseImpl.cpp

    r8155 r11307  
    187187{
    188188    PPDMDRVINS pDrvIns = PDMIBASE_2_PDMDRV(pInterface);
    189     PDRVMAINMOUSE pDrv = PDMINS2DATA(pDrvIns, PDRVMAINMOUSE);
     189    PDRVMAINMOUSE pDrv = PDMINS_2_DATA(pDrvIns, PDRVMAINMOUSE);
    190190    switch (enmInterface)
    191191    {
     
    208208DECLCALLBACK(void) Mouse::drvDestruct(PPDMDRVINS pDrvIns)
    209209{
    210     //PDRVMAINMOUSE pData = PDMINS2DATA(pDrvIns, PDRVMAINMOUSE);
     210    //PDRVMAINMOUSE pData = PDMINS_2_DATA(pDrvIns, PDRVMAINMOUSE);
    211211    LogFlow(("Mouse::drvDestruct: iInstance=%d\n", pDrvIns->iInstance));
    212212}
     
    225225DECLCALLBACK(int) Mouse::drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfgHandle)
    226226{
    227     PDRVMAINMOUSE pData = PDMINS2DATA(pDrvIns, PDRVMAINMOUSE);
     227    PDRVMAINMOUSE pData = PDMINS_2_DATA(pDrvIns, PDRVMAINMOUSE);
    228228    LogFlow(("drvMainMouse_Construct: iInstance=%d\n", pDrvIns->iInstance));
    229229
  • trunk/src/VBox/Frontends/VBoxBFE/StatusImpl.cpp

    r8155 r11307  
    9494{
    9595    PPDMDRVINS pDrvIns = PDMIBASE_2_PDMDRV(pInterface);
    96     PDRVMAINSTATUS pDrv = PDMINS2DATA(pDrvIns, PDRVMAINSTATUS);
     96    PDRVMAINSTATUS pDrv = PDMINS_2_DATA(pDrvIns, PDRVMAINSTATUS);
    9797    switch (enmInterface)
    9898    {
     
    115115DECLCALLBACK(void) VMStatus::drvDestruct(PPDMDRVINS pDrvIns)
    116116{
    117     PDRVMAINSTATUS pData = PDMINS2DATA(pDrvIns, PDRVMAINSTATUS);
     117    PDRVMAINSTATUS pData = PDMINS_2_DATA(pDrvIns, PDRVMAINSTATUS);
    118118    LogFlow(("VMStatus::drvDestruct: iInstance=%d\n", pDrvIns->iInstance));
    119119    if (pData->papLeds)
     
    138138DECLCALLBACK(int) VMStatus::drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfgHandle)
    139139{
    140     PDRVMAINSTATUS pData = PDMINS2DATA(pDrvIns, PDRVMAINSTATUS);
     140    PDRVMAINSTATUS pData = PDMINS_2_DATA(pDrvIns, PDRVMAINSTATUS);
    141141    LogFlow(("VMStatus::drvConstruct: iInstance=%d\n", pDrvIns->iInstance));
    142142
  • trunk/src/VBox/Frontends/VBoxBFE/VMMDevInterface.cpp

    r8425 r11307  
    268268
    269269    PDRVMAINVMMDEV pDrv = PDMIHGCMCONNECTOR_2_MAINVMMDEV(pInterface);
    270    
     270
    271271    if (    !pServiceLocation
    272272        || (   pServiceLocation->type != VMMDevHGCMLoc_LocalHost
     
    353353{
    354354    PPDMDRVINS pDrvIns = PDMIBASE_2_PDMDRV(pInterface);
    355     PDRVMAINVMMDEV pDrv = PDMINS2DATA(pDrvIns, PDRVMAINVMMDEV);
     355    PDRVMAINVMMDEV pDrv = PDMINS_2_DATA(pDrvIns, PDRVMAINVMMDEV);
    356356    switch (enmInterface)
    357357    {
     
    381381DECLCALLBACK(void) VMMDev::drvDestruct(PPDMDRVINS pDrvIns)
    382382{
    383     /*PDRVMAINVMMDEV pData = PDMINS2DATA(pDrvIns, PDRVMAINVMMDEV); - unused variables makes gcc bitch. */
     383    /*PDRVMAINVMMDEV pData = PDMINS_2_DATA(pDrvIns, PDRVMAINVMMDEV); - unused variables makes gcc bitch. */
    384384}
    385385
     
    397397DECLCALLBACK(int) VMMDev::drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfgHandle)
    398398{
    399     PDRVMAINVMMDEV pData = PDMINS2DATA(pDrvIns, PDRVMAINVMMDEV);
     399    PDRVMAINVMMDEV pData = PDMINS_2_DATA(pDrvIns, PDRVMAINVMMDEV);
    400400    LogFlow(("Keyboard::drvConstruct: iInstance=%d\n", pDrvIns->iInstance));
    401401
     
    488488    }
    489489#endif /* VBOX_HGCM */
    490    
     490
    491491    return VINF_SUCCESS;
    492492}
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