Chameleon

Chameleon Commit Details

Date:2016-06-15 22:31:02 (3 years 11 months ago)
Author:ErmaC
Commit:2828
Parents: 2827
Message:Merge Micky1979’s MIMIC booter entry for El Capitan from Enoch (fake_efi.c)
Changes:
M/trunk/i386/libsaio/fake_efi.c

File differences

trunk/i386/libsaio/fake_efi.c
1717
1818
1919
20
2021
2122
2223
......
108109
109110
110111
111
112
112113
113114
114115
......
813814
814815
815816
817
818
819
820
821
822
823
824
825
826
827
828
829
816830
817831
818832
#include "convert.h"
#include "pci.h"
#include "sl.h"
#include "vers.h"
#ifndef DEBUG_EFI
#define DEBUG_EFI 0
/* 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
}
}
// 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);
}
}
/*

Archive Download the corresponding diff file

Revision: 2828