Changeset 76204 in vbox for trunk/src/VBox
- Timestamp:
- Dec 13, 2018 11:08:24 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r76201 r76204 1246 1246 #endif 1247 1247 1248 #ifdef VMSVGA_WITH_VGA_FB_BACKUP_AND_IN_RZ 1249 /* VMSVGA keeps the VGA and SVGA framebuffers separate unlike this boch-based 1250 VGA implementation, so we fake it by going to ring-3 and using a heap buffer. */ 1251 if (!pThis->svga.fEnabled) 1252 { /*likely*/ } 1253 else 1254 { 1255 *prc = VINF_IOM_R3_MMIO_READ; 1256 return 0; 1257 } 1258 #endif 1259 1248 1260 addr &= 0x1ffff; 1249 1261 switch(memory_map_mode) { … … 3430 3442 Assert(PDMCritSectIsOwner(pDevIns->CTX_SUFF(pCritSectRo))); 3431 3443 NOREF(pvUser); 3432 3433 #ifdef VMSVGA_WITH_VGA_FB_BACKUP_AND_IN_RZ3434 /* VMSVGA keeps the VGA and SVGA framebuffers separate unlike this boch-based3435 VGA implementation, so we fake it by going to ring-3 and using a heap buffer. */3436 if (!pThis->svga.fEnabled) { /*likely*/ }3437 else return VINF_IOM_R3_MMIO_READ;3438 #endif3439 3444 3440 3445 int rc = VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.