Changeset 51358 in vbox
- Timestamp:
- May 22, 2014 5:16:05 PM (11 years ago)
- Location:
- trunk/src/VBox/Devices/Graphics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp
r51349 r51358 1867 1867 if (pView->pVBVA) 1868 1868 { 1869 #ifdef VBOX_WITH_CRHGSMI 1869 1870 Assert(!vboxCmdVBVAIsEnabled(pVGAState)); 1871 #endif 1870 1872 vbvaEnable (iView, pVGAState, pCtx, pView->pVBVA, pView->u32VBVAOffset, true /* fRestored */); 1871 1873 vbvaResize (pVGAState, pView, &pView->screen); … … 2137 2139 case VBVA_INFO_VIEW: 2138 2140 { 2141 #ifdef VBOX_WITH_CRHGSMI 2139 2142 if (vboxCmdVBVAIsEnabled(pVGAState)) 2140 2143 { … … 2143 2146 break; 2144 2147 } 2148 #endif 2145 2149 2146 2150 if (cbBuffer < sizeof (VBVAINFOVIEW)) … … 2202 2206 } 2203 2207 2208 #ifdef VBOX_WITH_CRHGSMI 2204 2209 if (vboxCmdVBVAIsEnabled(pVGAState)) 2205 2210 { … … 2208 2213 break; 2209 2214 } 2215 #endif 2210 2216 2211 2217 VBVAINFOSCREEN *pScreen = (VBVAINFOSCREEN *)pvBuffer; … … 2216 2222 case VBVA_ENABLE: 2217 2223 { 2224 #ifdef VBOX_WITH_CRHGSMI 2218 2225 if (vboxCmdVBVAIsEnabled(pVGAState)) 2219 2226 { … … 2222 2229 break; 2223 2230 } 2231 #endif 2224 2232 2225 2233 if (cbBuffer < sizeof (VBVAENABLE)) -
trunk/src/VBox/Devices/Graphics/DevVGA_VDMA.cpp
r51357 r51358 3410 3410 int vboxVDMASaveLoadDone(struct VBOXVDMAHOST *pVdma) 3411 3411 { 3412 #ifdef VBOX_WITH_CRHGSMI 3412 3413 VBVAEXHOSTCTL* pHCtl = VBoxVBVAExHCtlCreate(&pVdma->CmdVbva, VBVAEXHOSTCTL_TYPE_HH_LOADSTATE_DONE); 3413 3414 if (!pHCtl) … … 3429 3430 return rc; 3430 3431 } 3431 3432 #endif 3432 3433 return VINF_SUCCESS; 3433 3434 }
Note:
See TracChangeset
for help on using the changeset viewer.