VirtualBox

Changeset 80922 in vbox


Ignore:
Timestamp:
Sep 20, 2019 11:43:18 AM (5 years ago)
Author:
vboxsync
Message:

EFI/FirmwareNew: Add a check for Fat/Universal binaries provided by older macOS versions like Mountain Lion and older

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Library/UefiBootManagerLib/BmLoadOption.c

    r80721 r80922  
    12091209    return FALSE;
    12101210  }
     1211
     1212#ifdef VBOX
     1213  /*
     1214   * Check for Fat/Universal EFI binaries provided by older macOS versions
     1215   * (Mountain Lion and older).
     1216   *
     1217   * @todo More checks here? (VBoxPeCoffLib will do more thorough checks
     1218   *       when the image is actually loaded).
     1219   */
     1220  if (*(UINT32 *)FileBuffer == 0x0ef1fab9)
     1221    return TRUE;
     1222#endif
    12111223
    12121224  //
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