VirtualBox

Changeset 42347 in vbox


Ignore:
Timestamp:
Jul 24, 2012 11:09:38 AM (12 years ago)
Author:
vboxsync
Message:

The area used for the VGA bios is set to at least 36 KB because of old saved states.

File:
1 edited

Legend:

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

    r42122 r42347  
    61766176    AssertReleaseMsg(g_cbVgaBiosBinary <= _64K && g_cbVgaBiosBinary >= 32*_1K, ("g_cbVgaBiosBinary=%#x\n", g_cbVgaBiosBinary));
    61776177    AssertReleaseMsg(RT_ALIGN_Z(g_cbVgaBiosBinary, PAGE_SIZE) == g_cbVgaBiosBinary, ("g_cbVgaBiosBinary=%#x\n", g_cbVgaBiosBinary));
    6178     rc = PDMDevHlpROMRegister(pDevIns, 0x000c0000, cbVgaBiosBinary, pu8VgaBiosBinary, cbVgaBiosBinary,
     6178    /* Note! Because of old saved states we'll always register at least 36KB of ROM. */
     6179    rc = PDMDevHlpROMRegister(pDevIns, 0x000c0000, RT_MIN(cbVgaBiosBinary, 36*_1K), pu8VgaBiosBinary, cbVgaBiosBinary,
    61796180                              fFlags, "VGA BIOS");
    61806181    if (RT_FAILURE(rc))
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