Changeset 67585 in vbox for trunk/src/VBox/Devices/PC
- Timestamp:
- Jun 23, 2017 3:29:50 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 116341
- Location:
- trunk/src/VBox/Devices/PC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevACPI.cpp
r67456 r67585 3151 3151 u64PciPref64Min, pThis->u64PciPref64Max-1)); 3152 3152 } 3153 if (cbBelow4GB > UINT32_C(0xf fe00000)) /* See MEM3. */3153 if (cbBelow4GB > UINT32_C(0xfe000000)) /* See MEM3. */ 3154 3154 { 3155 3155 /* Note: This is also enforced by DevPcBios.cpp. */ 3156 LogRel(("ACPI: Clipping cbRamLow=%#RX64 down to 0xf fe00000.\n", cbBelow4GB));3157 cbBelow4GB = UINT32_C(0xf fe00000);3156 LogRel(("ACPI: Clipping cbRamLow=%#RX64 down to 0xfe000000.\n", cbBelow4GB)); 3157 cbBelow4GB = UINT32_C(0xfe000000); 3158 3158 } 3159 3159 pThis->cbRamLow = cbBelow4GB; -
trunk/src/VBox/Devices/PC/DevPcBios.cpp
r67456 r67585 743 743 744 744 /* Bochs BIOS specific? Anyway, it's the amount of memory above 16MB 745 and below 4GB (as it can only hold 4GB +16M). We have to chop off the746 top 2MB or it conflict with what the ACPI tables return. (Should these745 and below 4GB (as it can only hold 4GB-16M). We have to chop off the 746 top 32MB or it conflict with what the ACPI tables return. (Should these 747 747 be adjusted, we still have to chop it at 0xfffc0000 or it'll conflict 748 748 with the high BIOS mapping.) */ 749 749 if (cbRamSize > 16 * _1M) 750 u32 = (RT_MIN(cbBelow4GB, UINT32_C(0xf fe00000)) - 16U * _1M) / _64K;750 u32 = (RT_MIN(cbBelow4GB, UINT32_C(0xfe000000)) - 16U * _1M) / _64K; 751 751 else 752 752 u32 = 0;
Note:
See TracChangeset
for help on using the changeset viewer.