VirtualBox

Ignore:
Timestamp:
Nov 29, 2019 3:07:28 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
135109
Message:

EFI: Set DevicePathsSupported in DataHub (see bugref:6930).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxAppleSim/Cpu.c

    r80902 r82285  
    104104    EFI_DATA_HUB_PROTOCOL       *DataHub;
    105105    MAGIC_HUB_DATA              *MagicData;
     106    UINT32                      Supported = 1;
    106107    //
    107108    // Locate DataHub protocol.
     
    124125    LogData(DataHub, MagicData, L"CPUFrequency", &CPUFrequency, sizeof(CPUFrequency));
    125126
     127    // The following is required for OS X to construct a SATA boot path. UEFI 2.0 (published
     128    // in Jan 2006, same time as the first Intel Macs) did not standardize SATA device paths;
     129    // if DevicePathsSupported is not set, OS X will create ATA boot paths which will fail
     130    // to boot
     131    LogData(DataHub, MagicData, L"DevicePathsSupported", &Supported, sizeof(Supported));
     132
    126133    FreePool (MagicData);
    127134
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