Chameleon

Chameleon Commit Details

Date:2016-05-17 22:13:13 (3 years 3 months ago)
Author:ErmaC
Commit:2819
Parents: 2818
Message:MIMIC booter entry for El Capitan by Micky1979
Changes:
M/branches/ErmaC/Enoch/i386/libsaio/fake_efi.c

File differences

branches/ErmaC/Enoch/i386/libsaio/fake_efi.c
1717
1818
1919
20
2021
2122
2223
......
778779
779780
780781
781
782
782
783
783784
784785
785786
787
786788
789
787790
788791
789792
......
830833
831834
832835
836
837
838
839
840
841
842
843
844
845
846
847
848
833849
834850
835851
#include "convert.h"
#include "pci.h"
#include "sl.h"
#include "vers.h"
#ifndef DEBUG_EFI
#define DEBUG_EFI 0
*/
if (PMRepeatCount)
{
--PMRepeatCount;
continue;// jb0x17e55(retry)
--PMRepeatCount;
continue;// jb0x17e55(retry)
}
}
else
{
PMRepeatCount = 0xffff;
}
cpuTick = (EFI_UINT32) getCPUTick();// callq0x121a7
//printf("value: 0x%x\n", getCPUTick());
}
}
// 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: 2819