Commit Graph

518 Commits

Author SHA1 Message Date
jief666
08add49958 remove CustomSmbiosGuid quirks. Force it to false. 2020-09-30 22:03:13 +03:00
jief666
804dd26599 Fix kext path in LoadKexts()
Remove StartLoader11(). StartLoader() starts all macOs with OC.
Merge Quirks sections.
2020-09-30 21:56:55 +03:00
jief666
bd8d3140b2 ProvideConsoleGop setting in GUI. 2020-09-29 15:15:11 +03:00
jief666
48cdadb0b2 Fix bug where StartLoader cannot find kexts.
First implementation of Self object.
2020-09-28 18:57:50 +03:00
jief666
6ed566e98c Const missing. 2020-09-28 12:05:37 +03:00
jief666
588bd4f342 mOpenCoreConfiguration.Nvram.WriteFlash = true; 2020-09-27 14:52:38 +03:00
jief666
e48ae97c60 Avoid GetDefaultSettings scratching SmUUID read from smbios. 2020-09-24 15:06:10 +03:00
jief666
29bdb1bdcd SmUUID wasn't injected if smbios info were in smbios.plist. 2020-09-23 16:47:47 +03:00
jief666
b592a62d6f Restore Device properties injection.
Uncomment SetCPUProperties() SetupDataForOSX()
2020-09-23 08:20:06 +03:00
jief666
d440b5a7f1 Comment out gAppleDevicePropertyProtocolGuid
Rename gAppleDevicePropertyProtocolGuid to
gEfiDevicePathPropertyDatabaseProtocolGuid
Rename gDevicePropertiesGuid to
gEfiDevicePathPropertyDatabaseProtocolGuid
Debug message for USE_OC_SECTION_xxx
2020-09-21 08:53:36 +03:00
jief666
f745d8b0b3 Implement scratching the debug.log at start. 2020-09-18 13:50:49 +03:00
jief666
28a0dc1e8b Uncomment call to SetDevices(this) and SetVariablesForOSX(this)
Temporary panic is OcQuirks not found.
2020-09-18 13:04:07 +03:00
jief666
3877d988f3 OcKernelCache Auto if empty string. 2020-09-18 12:12:15 +03:00
jief666
73f29eb538 Redirect OC log to Clover.
Keep log file handle opened.
Put back -DMDEPKG_NDEBUG.
2020-09-18 11:55:44 +03:00
jief666
1476a8662b Remove OcBooter, just call it Quirks. 2020-09-17 02:01:36 +03:00
jief666
887136a381 Use OcMain, continuation. 2020-09-16 20:50:16 +03:00
jief666
346661efd2 Use OcMain to init OC.
Remove -DMDEPKG_NDEBUG to get OC debug messages.
Refactor InjectKextList as XObjArray<SIDELOAD_KEXT>.
2020-09-16 02:01:53 +03:00
jief666
acc2fea810 Use kext from correct folder for version < 11.0
Use OpenCore OS_INFO_PROTOCOL.
2020-09-14 16:01:30 +03:00
jief666
232f94f00c Handle booter quircks. 2020-09-09 20:06:34 +03:00
jief666
389ec9d17c Debug messages. 2020-09-09 14:19:32 +03:00
jief666
dfac7119f6 Hardcode order of some kexts.
Improve test in USBFix to avoid crash.
2020-09-09 00:25:26 +03:00
jief666
9681c6292d Menu disable kext for version 11. 2020-09-08 14:00:17 +03:00
jief666
7e31ca1319 Implement OC FuzzyMatch, KernelCache and Quirks. 2020-09-07 20:33:38 +03:00
jief666
257667f2f1 Get version for installer.
OcLog initialisation.
2020-09-07 17:44:24 +03:00
jief666
8ccee7054f 1st experiment to use OpenCore to boot Big Sur installer. 2020-09-07 01:19:48 +03:00
jief666
f4e10b1a2a Base64DecodeClover cannot return not-NULL and DecodedSize=0 anymore. 2020-09-04 13:52:05 +03:00
jief666
87bc06495c Panic message goes in log over serial port.
Qemu launch script.
2020-09-04 00:35:36 +03:00
jief666
efb3c44b0f Tag panic instead of silently fail when wrong get[type] is called.
Handle Prop </false> in InjectKexts.
Replace FreePool by delete.
2020-09-04 00:34:44 +03:00
jief666
8276e8b4f9 Wrong test of Prop instead of arrayProp. 2020-09-03 23:05:11 +03:00
SergeySlice
1fe7cc1cfc Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-09-02 20:32:47 +03:00
SergeySlice
9f74f728b6 exclude extra u
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-09-02 20:32:40 +03:00
jief666
734f292a3d Comment out debug message. 2020-09-02 18:21:32 +03:00
SergeySlice
67d332ce14 somehow resolve conflict between c++ and swift
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-09-01 20:58:59 +03:00
jief666
1963d37ef1 Fix SortedOrderArray test. 2020-08-31 12:43:18 +03:00
jief666
2447e1fea7 Refactor BlackList as XStringWArray and rename to DisabledDriverArray. 2020-08-31 12:00:52 +03:00
jief666
da29292e22 refactor ThemesList as XStringWArray and rename to ThemeNameArray. 2020-08-31 10:22:11 +03:00
jief666
e7d14cc70e Refactor HDA_OUTPUTS as a class and AudioList as a XObjArray. 2020-08-31 10:07:36 +03:00
jief666
823e0efc9f Refactor RT_VARIABLES as a class and RtVariables as a XObjArray.
Renamed RtVariables to BlockRtVariableArray.
2020-08-31 09:22:21 +03:00
jief666
babba4de6e make TagData::setDataValue accept NULL value for data. 2020-08-30 22:53:40 +03:00
SergeySlice
352c75c711 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-08-30 20:25:30 +03:00
SergeySlice
6dd178030b more informative print
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-08-30 20:25:16 +03:00
Sergey Isakov
493aa8f946 some dangerous misprints
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-08-30 17:21:54 +03:00
Sergey Isakov
b58f4bbbd3 allow empty data in plist
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-08-30 14:12:46 +03:00
Sergey Isakov
3493015cf2 fix DSDT patching
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-08-30 11:02:55 +03:00
jief666
e9f0f8ccd8 DSDT Patches refactor as an array of object.
Entry->VolName renamed Entry->DisplayedVolName because VolName already
exits in the hierarchie.
2020-08-27 21:47:56 +03:00
jief666
a721bb0a29 ROM setting can now be string or data, like it was before. 2020-08-27 16:02:25 +03:00
jief666
5779130ea5 MemLogfVA now use only printf_lite which has better handling of
timestamp at the beginning of lines.
2020-08-26 21:49:49 +03:00
jief666
c7cc003809 Xcode project.
printf_lite. Add test guard.
2020-08-25 19:08:05 +03:00
jief666
9cb4016bc5 Final refactoring of plist : now each tag is a class.
Rename strerror to efiStrError because of conflict when run cpp_tests on
Mac.
Switch base64_decode_block to long to avoid warning and cast.
Correct GetTableType4(). Size was used without being initialized.
2020-08-25 18:35:19 +03:00
jief666
d8c912e420 Fix debug message "patch disabled at config" 2020-08-23 14:54:35 +03:00