Changeset 34164 in vbox
- Timestamp:
- Nov 18, 2010 12:19:24 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 67885
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevPcBios.cpp
r34163 r34164 1364 1364 * Map the Network Boot ROM into memory. 1365 1365 * 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). 1367 1368 */ 1368 1369 if (pu8LanBootBinary) … … 1370 1371 pThis->cbLanBoot = cbLanBootBinary; 1371 1372 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, 1373 1375 PGMPHYS_ROM_FLAGS_SHADOWED, "Net Boot ROM"); 1374 1376 AssertRCReturn(rc, rc);
Note:
See TracChangeset
for help on using the changeset viewer.