VirtualBox

Changeset 34164 in vbox


Ignore:
Timestamp:
Nov 18, 2010 12:19:24 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
67885
Message:

DevPcBios.cpp: Always 56KB network boot ROM to avoid saved state trouble.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevPcBios.cpp

    r34163 r34164  
    13641364     * Map the Network Boot ROM into memory.
    13651365     * Currently there is a fixed mapping: 0x000d2000 to 0x000dffff contains
    1366      * the (up to) 56 kb ROM image.
     1366     * the (up to) 56 kb ROM image.  The mapping size is fixed to trouble with
     1367     * the saved state (in PGM).
    13671368     */
    13681369    if (pu8LanBootBinary)
     
    13701371        pThis->cbLanBoot = cbLanBootBinary;
    13711372
    1372         rc = PDMDevHlpROMRegister(pDevIns, VBOX_LANBOOT_SEG << 4, cbLanBootBinary, pu8LanBootBinary, cbLanBootBinary,
     1373        rc = PDMDevHlpROMRegister(pDevIns, VBOX_LANBOOT_SEG << 4,  RT_MAX(cbLanBootBinary, 56*_1K),
     1374                                  pu8LanBootBinary, cbLanBootBinary,
    13731375                                  PGMPHYS_ROM_FLAGS_SHADOWED, "Net Boot ROM");
    13741376        AssertRCReturn(rc, rc);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette