VirtualBox

Changeset 99451 in vbox


Ignore:
Timestamp:
Apr 19, 2023 7:50:37 AM (20 months ago)
Author:
vboxsync
Message:

Devices/EFI/FirmwareNew: Expand what gets ignored in order to fix older macOS guests boot loaders which try to allocate memory in the same area (Lion and Mountain Lion), bugref:4643

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/FirmwareNew/OvmfPkg/Library/PlatformInitLib/MemDetect.c

    r99404 r99451  
    6666  if (PlatformInfoHob->HostBridgeDevId == INTEL_Q35_MCH_DEVICE_ID) {
    6767    ASSERT (PcdGet64 (PcdPciExpressBaseAddress) <= MAX_UINT32);
    68     ASSERT (PcdGet64 (PcdPciExpressBaseAddress) >= PlatformInfoHob->LowMemory);
     68    //ASSERT (PcdGet64 (PcdPciExpressBaseAddress) >= PlatformInfoHob->LowMemory);
    6969
    7070    if (PlatformInfoHob->LowMemory <= BASE_2GB) {
     
    12111211#ifndef VBOX
    12121212    /*
    1213      * This is currently no required and interferes with older OS X bootloaders trying to
     1213     * This is currently not required and interferes with older OS X bootloaders trying to
    12141214     * allocate memory in that area. Needs to be revisited once we need this.
    12151215     */
     
    12351235        );
    12361236    }
    1237 #endif
    12381237
    12391238    if (PlatformInfoHob->SmmSmramRequire) {
     
    12841283
    12851284 #endif
    1286   }
    1287 }
     1285#endif
     1286  }
     1287}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette