VirtualBox

Changeset 56944 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jul 15, 2015 6:25:42 PM (10 years ago)
Author:
vboxsync
Message:

SVGA: Assertions triggered by BB.

Location:
trunk/src/VBox/Devices/Graphics
Files:
2 edited

Legend:

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

    r56593 r56944  
    989989        ||  pThis->svga.uBpp == 0)
    990990    {
    991         /* Invalid mode change. */
     991        /* Invalid mode change - BB does this early in the boot up. */
    992992        Log(("vmsvgaChangeMode: BOGUS sEnable LFB mode and resize to (%d,%d) bpp=%d\n", pThis->svga.uWidth, pThis->svga.uHeight, pThis->svga.uBpp));
    993993        return VINF_SUCCESS;
     
    34873487        if (pThis->svga.uHeight != VMSVGA_VAL_UNINITIALIZED)
    34883488        {
     3489#ifndef DEBUG_bird /* BB-10.3.1 triggers this as it initializes everything to zero. Better just ignore it. */
    34893490            Assert(pThis->svga.cbScanline);
     3491#endif
    34903492            /* Hardware enabled; return real framebuffer size .*/
    34913493            cbFrameBuffer = (uint32_t)pThis->svga.uHeight * pThis->svga.cbScanline;
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r56632 r56944  
    22162216 */
    22172217static int vmsvga_draw_graphic(PVGASTATE pThis, bool full_update, bool fFailOnResize, bool reset_dirty,
    2218                 PDMIDISPLAYCONNECTOR *pDrv)
     2218                               PDMIDISPLAYCONNECTOR *pDrv)
    22192219{
    22202220    int y, page_min, page_max, linesize, y_start;
     
    22262226
    22272227    if (    pThis->svga.uWidth  == VMSVGA_VAL_UNINITIALIZED
     2228        ||  pThis->svga.uWidth  == 0
    22282229        ||  pThis->svga.uHeight == VMSVGA_VAL_UNINITIALIZED
    2229         ||  pThis->svga.uBpp    == VMSVGA_VAL_UNINITIALIZED)
     2230        ||  pThis->svga.uHeight == 0
     2231        ||  pThis->svga.uBpp    == VMSVGA_VAL_UNINITIALIZED
     2232        ||  pThis->svga.uBpp    == 0)
    22302233    {
    22312234        /* Intermediate state; skip redraws. */
     
    69336936         */
    69346937        rc = PDMDevHlpDriverAttach(pDevIns, PDM_STATUS_LUN, &pThis->IBase, &pBase, "Status Port");
    6935         AssertRC(rc);
    69366938        if (RT_SUCCESS(rc))
    69376939        {
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