Changeset 837 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Feb 12, 2007 12:05:40 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 18532
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevPcBios.cpp
r332 r837 662 662 /* the low ROM mapping. */ 663 663 unsigned cb = RT_MIN(g_cbPcBiosBinary, 128 * _1K); 664 const uint8_t *pb1 = (uint8_t *)MMPhysGCPhys2HCVirt(pVM, 0x00100000 - cb );664 const uint8_t *pb1 = (uint8_t *)MMPhysGCPhys2HCVirt(pVM, 0x00100000 - cb, cb); 665 665 AssertRelease(pb1); 666 666 const uint8_t *pb2 = &g_abPcBiosBinary[g_cbPcBiosBinary - cb]; … … 675 675 676 676 /* the high ROM mapping. */ 677 pb1 = (uint8_t *)MMPhysGCPhys2HCVirt(pVM, (uint32_t)-g_cbPcBiosBinary );677 pb1 = (uint8_t *)MMPhysGCPhys2HCVirt(pVM, (uint32_t)-g_cbPcBiosBinary, g_cbPcBiosBinary); 678 678 AssertRelease(pb1); 679 679 pb2 = &g_abPcBiosBinary[0];
Note:
See TracChangeset
for help on using the changeset viewer.