VirtualBox

Changeset 67585 in vbox for trunk/src/VBox/Devices/PC


Ignore:
Timestamp:
Jun 23, 2017 3:29:50 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
116341
Message:

DevEFI/DevACPI/DevPcBios: bugref:8768: necessary adaptions of the PCI memory hole according to r113565 (2MB => 32MB)

Location:
trunk/src/VBox/Devices/PC
Files:
2 edited

Legend:

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

    r67456 r67585  
    31513151                   u64PciPref64Min, pThis->u64PciPref64Max-1));
    31523152    }
    3153     if (cbBelow4GB > UINT32_C(0xffe00000)) /* See MEM3. */
     3153    if (cbBelow4GB > UINT32_C(0xfe000000)) /* See MEM3. */
    31543154    {
    31553155        /* Note: This is also enforced by DevPcBios.cpp. */
    3156         LogRel(("ACPI: Clipping cbRamLow=%#RX64 down to 0xffe00000.\n", cbBelow4GB));
    3157         cbBelow4GB = UINT32_C(0xffe00000);
     3156        LogRel(("ACPI: Clipping cbRamLow=%#RX64 down to 0xfe000000.\n", cbBelow4GB));
     3157        cbBelow4GB = UINT32_C(0xfe000000);
    31583158    }
    31593159    pThis->cbRamLow = cbBelow4GB;
  • trunk/src/VBox/Devices/PC/DevPcBios.cpp

    r67456 r67585  
    743743
    744744    /* 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 the
    746        top 2MB or it conflict with what the ACPI tables return. (Should these
     745       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
    747747       be adjusted, we still have to chop it at 0xfffc0000 or it'll conflict
    748748       with the high BIOS mapping.) */
    749749    if (cbRamSize > 16 * _1M)
    750         u32 = (RT_MIN(cbBelow4GB, UINT32_C(0xffe00000)) - 16U * _1M) / _64K;
     750        u32 = (RT_MIN(cbBelow4GB, UINT32_C(0xfe000000)) - 16U * _1M) / _64K;
    751751    else
    752752        u32 = 0;
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