VirtualBox

Changeset 76201 in vbox


Ignore:
Timestamp:
Dec 13, 2018 9:59:30 AM (6 years ago)
Author:
vboxsync
Message:

Fixed vgaMMIORead to correctly return VINF_IOM_R3_MMIO_READ

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r76181 r76201  
    12461246#endif
    12471247
    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) { /*likely*/ }
    1252     else                       return VINF_IOM_R3_MMIO_READ;
    1253 #endif
    1254 
    12551248    addr &= 0x1ffff;
    12561249    switch(memory_map_mode) {
     
    34373430    Assert(PDMCritSectIsOwner(pDevIns->CTX_SUFF(pCritSectRo)));
    34383431    NOREF(pvUser);
     3432
     3433#ifdef VMSVGA_WITH_VGA_FB_BACKUP_AND_IN_RZ
     3434    /* VMSVGA keeps the VGA and SVGA framebuffers separate unlike this boch-based
     3435       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#endif
    34393439
    34403440    int rc = VINF_SUCCESS;
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