- Timestamp:
- Aug 8, 2008 11:08:56 PM (16 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxBFE
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxBFE/DisplayImpl.cpp
r8155 r11307 148 148 LogFlow(("VMDisplay::handleDisplayResize: external framebuffer wants us to wait!\n")); 149 149 150 /* Note: The previously obtained framebuffer lock must be preserved. 150 /* Note: The previously obtained framebuffer lock must be preserved. 151 151 * The EMT keeps the framebuffer lock until the resize process completes. 152 152 */ … … 178 178 /* Framebuffer has completed the resize. Update the connector data. */ 179 179 updateDisplayData(); 180 180 181 181 mpDrv->pUpPort->pfnSetRenderVRAM (mpDrv->pUpPort, true); 182 182 … … 489 489 490 490 uint32_t u32ResizeStatus = pDisplay->mu32ResizeStatus; 491 491 492 492 if (u32ResizeStatus == ResizeStatus_UpdateDisplayData) 493 493 { … … 1188 1188 { 1189 1189 PPDMDRVINS pDrvIns = PDMIBASE_2_PDMDRV(pInterface); 1190 PDRVMAINDISPLAY pDrv = PDMINS 2DATA(pDrvIns, PDRVMAINDISPLAY);1190 PDRVMAINDISPLAY pDrv = PDMINS_2_DATA(pDrvIns, PDRVMAINDISPLAY); 1191 1191 switch (enmInterface) 1192 1192 { … … 1213 1213 DECLCALLBACK(int) VMDisplay::drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfgHandle) 1214 1214 { 1215 PDRVMAINDISPLAY pData = PDMINS 2DATA(pDrvIns, PDRVMAINDISPLAY);1215 PDRVMAINDISPLAY pData = PDMINS_2_DATA(pDrvIns, PDRVMAINDISPLAY); 1216 1216 LogFlow(("VMDisplay::drvConstruct: iInstance=%d\n", pDrvIns->iInstance)); 1217 1217 -
trunk/src/VBox/Frontends/VBoxBFE/KeyboardImpl.cpp
r8155 r11307 168 168 { 169 169 PPDMDRVINS pDrvIns = PDMIBASE_2_PDMDRV(pInterface); 170 PDRVMAINKEYBOARD pDrv = PDMINS 2DATA(pDrvIns, PDRVMAINKEYBOARD);170 PDRVMAINKEYBOARD pDrv = PDMINS_2_DATA(pDrvIns, PDRVMAINKEYBOARD); 171 171 switch (enmInterface) 172 172 { … … 189 189 DECLCALLBACK(void) Keyboard::drvDestruct(PPDMDRVINS pDrvIns) 190 190 { 191 PDRVMAINKEYBOARD pData = PDMINS 2DATA(pDrvIns, PDRVMAINKEYBOARD);191 PDRVMAINKEYBOARD pData = PDMINS_2_DATA(pDrvIns, PDRVMAINKEYBOARD); 192 192 LogFlow(("Keyboard::drvDestruct: iInstance=%d\n", pDrvIns->iInstance)); 193 193 if (pData->pKeyboard) … … 218 218 DECLCALLBACK(int) Keyboard::drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfgHandle) 219 219 { 220 PDRVMAINKEYBOARD pData = PDMINS 2DATA(pDrvIns, PDRVMAINKEYBOARD);220 PDRVMAINKEYBOARD pData = PDMINS_2_DATA(pDrvIns, PDRVMAINKEYBOARD); 221 221 LogFlow(("Keyboard::drvConstruct: iInstance=%d\n", pDrvIns->iInstance)); 222 222 -
trunk/src/VBox/Frontends/VBoxBFE/MouseImpl.cpp
r8155 r11307 187 187 { 188 188 PPDMDRVINS pDrvIns = PDMIBASE_2_PDMDRV(pInterface); 189 PDRVMAINMOUSE pDrv = PDMINS 2DATA(pDrvIns, PDRVMAINMOUSE);189 PDRVMAINMOUSE pDrv = PDMINS_2_DATA(pDrvIns, PDRVMAINMOUSE); 190 190 switch (enmInterface) 191 191 { … … 208 208 DECLCALLBACK(void) Mouse::drvDestruct(PPDMDRVINS pDrvIns) 209 209 { 210 //PDRVMAINMOUSE pData = PDMINS 2DATA(pDrvIns, PDRVMAINMOUSE);210 //PDRVMAINMOUSE pData = PDMINS_2_DATA(pDrvIns, PDRVMAINMOUSE); 211 211 LogFlow(("Mouse::drvDestruct: iInstance=%d\n", pDrvIns->iInstance)); 212 212 } … … 225 225 DECLCALLBACK(int) Mouse::drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfgHandle) 226 226 { 227 PDRVMAINMOUSE pData = PDMINS 2DATA(pDrvIns, PDRVMAINMOUSE);227 PDRVMAINMOUSE pData = PDMINS_2_DATA(pDrvIns, PDRVMAINMOUSE); 228 228 LogFlow(("drvMainMouse_Construct: iInstance=%d\n", pDrvIns->iInstance)); 229 229 -
trunk/src/VBox/Frontends/VBoxBFE/StatusImpl.cpp
r8155 r11307 94 94 { 95 95 PPDMDRVINS pDrvIns = PDMIBASE_2_PDMDRV(pInterface); 96 PDRVMAINSTATUS pDrv = PDMINS 2DATA(pDrvIns, PDRVMAINSTATUS);96 PDRVMAINSTATUS pDrv = PDMINS_2_DATA(pDrvIns, PDRVMAINSTATUS); 97 97 switch (enmInterface) 98 98 { … … 115 115 DECLCALLBACK(void) VMStatus::drvDestruct(PPDMDRVINS pDrvIns) 116 116 { 117 PDRVMAINSTATUS pData = PDMINS 2DATA(pDrvIns, PDRVMAINSTATUS);117 PDRVMAINSTATUS pData = PDMINS_2_DATA(pDrvIns, PDRVMAINSTATUS); 118 118 LogFlow(("VMStatus::drvDestruct: iInstance=%d\n", pDrvIns->iInstance)); 119 119 if (pData->papLeds) … … 138 138 DECLCALLBACK(int) VMStatus::drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfgHandle) 139 139 { 140 PDRVMAINSTATUS pData = PDMINS 2DATA(pDrvIns, PDRVMAINSTATUS);140 PDRVMAINSTATUS pData = PDMINS_2_DATA(pDrvIns, PDRVMAINSTATUS); 141 141 LogFlow(("VMStatus::drvConstruct: iInstance=%d\n", pDrvIns->iInstance)); 142 142 -
trunk/src/VBox/Frontends/VBoxBFE/VMMDevInterface.cpp
r8425 r11307 268 268 269 269 PDRVMAINVMMDEV pDrv = PDMIHGCMCONNECTOR_2_MAINVMMDEV(pInterface); 270 270 271 271 if ( !pServiceLocation 272 272 || ( pServiceLocation->type != VMMDevHGCMLoc_LocalHost … … 353 353 { 354 354 PPDMDRVINS pDrvIns = PDMIBASE_2_PDMDRV(pInterface); 355 PDRVMAINVMMDEV pDrv = PDMINS 2DATA(pDrvIns, PDRVMAINVMMDEV);355 PDRVMAINVMMDEV pDrv = PDMINS_2_DATA(pDrvIns, PDRVMAINVMMDEV); 356 356 switch (enmInterface) 357 357 { … … 381 381 DECLCALLBACK(void) VMMDev::drvDestruct(PPDMDRVINS pDrvIns) 382 382 { 383 /*PDRVMAINVMMDEV pData = PDMINS 2DATA(pDrvIns, PDRVMAINVMMDEV); - unused variables makes gcc bitch. */383 /*PDRVMAINVMMDEV pData = PDMINS_2_DATA(pDrvIns, PDRVMAINVMMDEV); - unused variables makes gcc bitch. */ 384 384 } 385 385 … … 397 397 DECLCALLBACK(int) VMMDev::drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfgHandle) 398 398 { 399 PDRVMAINVMMDEV pData = PDMINS 2DATA(pDrvIns, PDRVMAINVMMDEV);399 PDRVMAINVMMDEV pData = PDMINS_2_DATA(pDrvIns, PDRVMAINVMMDEV); 400 400 LogFlow(("Keyboard::drvConstruct: iInstance=%d\n", pDrvIns->iInstance)); 401 401 … … 488 488 } 489 489 #endif /* VBOX_HGCM */ 490 490 491 491 return VINF_SUCCESS; 492 492 }
Note:
See TracChangeset
for help on using the changeset viewer.