Index: trunk/i386/libsaio/fake_efi.c =================================================================== --- trunk/i386/libsaio/fake_efi.c (revision 2827) +++ trunk/i386/libsaio/fake_efi.c (revision 2828) @@ -17,6 +17,7 @@ #include "convert.h" #include "pci.h" #include "sl.h" +#include "vers.h" #ifndef DEBUG_EFI #define DEBUG_EFI 0 @@ -108,7 +109,7 @@ /* Identify ourselves as the EFI firmware vendor */ static EFI_CHAR16 const FIRMWARE_VENDOR[] = {'C','h','a','m','e','l','e','o','n','_','2','.','3', 0}; -static EFI_UINT32 const FIRMWARE_REVISION = 0x0001000a; // got from real MBP6,1 +static EFI_UINT32 const FIRMWARE_REVISION = EFI_SYSTEM_TABLE_REVISION; /* Default platform system_id (fix by IntVar) static EFI_CHAR8 const SYSTEM_ID[] = "0123456789ABCDEF"; //random value gen by uuidgen @@ -813,6 +814,19 @@ } } + // Micky1979 : MIMIC booter entry for El Capitan + if ( MacOSVerCurrent >= MacOSVer2Int("10.11") ) // El Capitan + { + verbose("Adding booter spec to the Platform Expert \n"); + // booter-build-time (Fri May 22 19:06:42 PDT 2015) DP1 + // booter-build-time (Fri Jul 24 17:39:22 PDT 2015) DP7 + DT__AddProperty(chosenNode, "booter-build-time", sizeof(I386BOOT_BUILDDATE), I386BOOT_BUILDDATE); + // booter-name (boot.efi) + DT__AddProperty(chosenNode, "booter-name", sizeof("Enoch"), "Enoch"); + // booter-version (version:295.0.0.1.1) DP1 + // booter-version (version:304) DP7 + DT__AddProperty(chosenNode, "booter-version", sizeof(I386BOOT_CHAMELEONREVISION), I386BOOT_CHAMELEONREVISION); + } } /*