Changeset 65576 in vbox for trunk/src/VBox/Devices/PC/DevACPI.cpp
- Timestamp:
- Feb 1, 2017 8:04:19 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 113229
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevACPI.cpp
r65573 r65576 3132 3132 /* 3133 3133 * Calculate the sizes for the low region and for the 64-bit prefetchable memory. 3134 * The latter starts never below 4G and is 1G-aligned. 3134 3135 */ 3135 3136 const uint64_t offRamHole = _4G - cbRamHole; 3136 3137 if (pThis->fPciPref64Enabled) 3137 pThis->u64PciPref64 = pThis->u64RamSize < _4G ? _4G : pThis->u64RamSize; /* MEM4 */3138 pThis->u64PciPref64 = pThis->u64RamSize < _4G ? _4G : RT_ALIGN_64(pThis->u64RamSize, _1G); /* MEM4 */ 3138 3139 uint64_t cbRamLow = offRamHole < pThis->u64RamSize ? offRamHole : pThis->u64RamSize; 3139 3140 if (cbRamLow > UINT32_C(0xffe00000)) /* See MEM3. */
Note:
See TracChangeset
for help on using the changeset viewer.