VirtualBox

Changeset 105213 in vbox


Ignore:
Timestamp:
Jul 9, 2024 8:25:14 AM (5 months ago)
Author:
vboxsync
Message:

DevVGA: Three instances of s/AssertMsgFailed/ASSERT_GUEST_MSG_FAILED/. bugref:10711

File:
1 edited

Legend:

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

    r104244 r105213  
    10771077                    ||  cb > pThis->vram_size)
    10781078                {
    1079                     AssertMsgFailed(("VIRT WIDTH=%d YRES=%d cb=%d vram_size=%d\n",
    1080                                      pThis->vbe_regs[VBE_DISPI_INDEX_VIRT_WIDTH], pThis->vbe_regs[VBE_DISPI_INDEX_YRES], cb, pThis->vram_size));
     1079                    ASSERT_GUEST_MSG_FAILED(("VIRT WIDTH=%d YRES=%d cb=%d vram_size=%d\n",
     1080                                             pThis->vbe_regs[VBE_DISPI_INDEX_VIRT_WIDTH], pThis->vbe_regs[VBE_DISPI_INDEX_YRES],
     1081                                             cb, pThis->vram_size));
    10811082                    return VINF_SUCCESS; /* Note: silent failure like before */
    10821083                }
     
    31863187    if (cb == 2 || cb == 4)
    31873188        return vbe_ioport_write_data(pDevIns, pThis, pThisCC, offPort, u32);
    3188     AssertMsgFailed(("vgaIoPortWriteVbeData: offPort=%#x cb=%d u32=%#x\n", offPort, cb, u32));
    3189 
     3189    ASSERT_GUEST_MSG_FAILED(("vgaIoPortWriteVbeData: offPort=%#x cb=%d u32=%#x\n", offPort, cb, u32));
    31903190    return VINF_SUCCESS;
    31913191}
     
    32603260        return VINF_SUCCESS;
    32613261    }
    3262     AssertMsgFailed(("vgaIoPortReadVbeData: offPort=%#x cb=%d\n", offPort, cb));
     3262    ASSERT_GUEST_MSG_FAILED(("vgaIoPortReadVbeData: offPort=%#x cb=%d\n", offPort, cb));
    32633263    return VERR_IOM_IOPORT_UNUSED;
    32643264}
     
    32943294        return VINF_SUCCESS;
    32953295    }
    3296     AssertMsgFailed(("vgaIoPortReadVbeIndex: offPort=%#x cb=%d\n", offPort, cb));
     3296    ASSERT_GUEST_MSG_FAILED(("vgaIoPortReadVbeIndex: offPort=%#x cb=%d\n", offPort, cb));
    32973297    return VERR_IOM_IOPORT_UNUSED;
    32983298}
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