Commit Graph

1292 Commits

Author SHA1 Message Date
jief666
d17d02b1f8 Clean [BuildOptions] in inf files.
Add "-flto  -DUSING_LTO" when DISABLE_LTO is not defined.
2020-10-20 15:00:24 +03:00
jief666
e80852a82f Allow 11 11.x in IsOSValid().
No timing in JIEF_DEBUG.
2020-10-20 10:55:46 +03:00
SergeySlice
c87858c5f0 update package
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-19 22:34:48 +03:00
jief666
2d124e41e3 Improve GetDebugLogFile() and SaveMessageToDebugLogFile(). 2020-10-19 15:04:03 +03:00
jief666
7ac3952a92 Add \ before Clover path if it's missing, instead of Panic. 2020-10-18 16:54:55 +03:00
SergeySlice
259ebbbf08 make path_independant used
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-18 06:04:08 +03:00
SergeySlice
a34840baa1 special order for voodooi2c
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-18 05:43:25 +03:00
jief666
70988228c4 Refactor selfOem. Created getConfigDir... methods.
Enclose access to getOemDir... by if (selfOem.oemDirExists()).
Enclose access to getKextsDir... by if (selfOem.isKextsDirFound()).
closeDebugLog() in UninitRefitLib().
Prevent DBG loop.
2020-10-17 16:01:33 +03:00
SergeySlice
aee426fa30 restore CloverEFI functionality
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-16 10:06:20 +03:00
SergeySlice
62e6f8ddda changes in OC
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-15 14:50:37 +03:00
SergeySlice
4d34c7b8d2 add modified contents
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-15 10:27:30 +03:00
SergeySlice
396f1a41f9 add modified contents
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-15 10:26:24 +03:00
SergeySlice
11e2e38420 several optimisations
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-15 10:05:37 +03:00
SergeySlice
48fb8c7575 always boot with injexted kexts, just choose them
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-14 22:06:41 +03:00
SergeySlice
92bf401d7c fix full path for kexts
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-14 21:54:18 +03:00
SergeySlice
22f694d2da search info and exec pathes
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-14 19:08:32 +03:00
jief666
1bb8b0dd34 "DriveImageData" typo. 2020-10-14 16:40:07 +03:00
SergeySlice
c7c079e0fb avoid memory leak with ACPI patching
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-14 10:32:36 +03:00
SergeySlice
086e5682ae change KernelPM correspondence to old Clover
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-13 14:28:47 +03:00
jief666
a2ffdf8642 Add Find/Replace with mask tests.
Improve unit test framework.
2020-10-12 17:49:43 +03:00
SergeySlice
d2bec9ba0c Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-10-12 15:06:00 +03:00
SergeySlice
00f01c1d09 dont exclude OpenRuntime from distribution
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-12 15:05:34 +03:00
jief666
0ab6d8a994 First unit test for memory Find-Replace. 2020-10-12 14:51:08 +03:00
SergeySlice
2bf2302d9d a possibility to switch on/off kext patching from GUI
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-12 14:48:50 +03:00
jief666
4d5ccc026f Quick hack to load OpneRuntime.efi.
UINTN to uintptr_t.
Conditionnal code in OpenCorePkg.
2020-10-11 09:06:50 +03:00
SergeySlice
743b036202 change format printing
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-10 18:15:54 +03:00
SergeySlice
914349ec14 take into account enable-disable patches in menu
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-10 16:31:14 +03:00
SergeySlice
2a44824869 modified OpenCore master
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-10 10:29:43 +03:00
jief666
2fddd11e16 Filter out OpenRuntime from efi drivers, to allow linux boot. 2020-10-09 09:05:51 +03:00
SergeySlice
641b75e9eb exclude double settings
implement Skip for OC compatibility

Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-08 23:03:41 +03:00
jief666
881796039f Build id in log and in About menu. 2020-10-07 20:25:31 +03:00
jief666
446cec5ede Add a build_id in Version.h
Rename, copy to 'Build' and zip CloverX64.efi.
2020-10-07 19:57:34 +03:00
jief666
941ff0b3a3 Fix TgtBridge. 2020-10-07 12:15:21 +03:00
SergeySlice
8e0f4ad249 correspondence of kext patches clover and oc
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-06 23:02:14 +03:00
jief666
72f4ddd9a6 Fix DSDT oem path.
Test : using OC OSInfo protocol.
2020-10-06 17:24:34 +03:00
jief666
2bc776d63e ReinitRefitLib after Starting an efi image. 2020-10-05 23:45:14 +03:00
jief666
53645a4240 Use Clover implementation of gEfiOSInfoProtocolGuid. 2020-10-05 13:32:23 +03:00
jief666
d12acc1ec5 Remove panic at start if there is no kexts dir. 2020-10-05 12:14:35 +03:00
jief666
dcd17ca8cd Display full path of acpi files in debug log. 2020-10-05 10:25:53 +03:00
SergeySlice
92f0a22458 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-10-04 20:12:42 +03:00
SergeySlice
c96d9d57b9 cosmetic changes to xcode project and debug-log
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-04 20:12:10 +03:00
jief666
2f83b0bcef Remove forced optimize flag (it's done by EDK build system). 2020-10-04 11:16:58 +03:00
jief666
f312117030
Merge pull request #245 from CloverHackyColor/opencore_integration
Opencore integration
2020-10-04 00:06:31 +03:00
jief666
458d071ec9 Fix kext path when in an OEM folder. 2020-10-03 23:56:50 +03:00
jief666
b8a188382c Make Clover path independent. 2020-10-03 20:02:31 +03:00
SergeySlice
2286f19503 join kext and kernel patches
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-03 17:16:11 +03:00
SergeySlice
53b163c57c provide config-sample with full quirk list
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-03 15:17:46 +03:00
SergeySlice
8a89a90cfe correct memory lib
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-01 23:08:03 +03:00
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