Commit Graph

393 Commits

Author SHA1 Message Date
jief666
3fb08d97f8 Continuation of refactor of settings. 2021-03-15 12:02:34 +03:00
SergeySlice
45801ef2da correct use of virtual pointer
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-02-28 22:42:57 +03:00
SergeySlice
76bf6321a6 release compilation should never panic on bad user input, use DEBUG for testing
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-02-21 16:49:09 +03:00
SergeySlice
3fbfaf07eb fix nvram.plist reading
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-02-19 23:07:24 +03:00
jief666
8209394af9 Continuing to refactor SETTINGS_DATA. 2021-02-11 14:41:59 +03:00
jief666
95be95c531 Reactivate warnings.
Clean warnings reactivated.
Clean build flags in the 4 configurations to make RELEASE_XCODE8 works
in QEMU.
2021-02-10 15:32:07 +03:00
SergeySlice
09d1ee044f Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2021-02-07 17:59:23 +03:00
SergeySlice
5d75cb7c69 embedded DataHubDxe and default for ARTFrequency
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-02-07 17:59:15 +03:00
jief666
75097bd304 Remove include <Platform.h> from headers. Keep them in sources. 2021-02-07 17:39:03 +03:00
jief666
1a02f530db Refactoring to allow Clover to be compiled as a macOs app. 2021-02-06 20:16:46 +03:00
SergeySlice
4bb8bb493f accept issue 356, VoodooRMI ordering
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-02-06 19:34:31 +03:00
SergeySlice
e24ceaa470 set default settings must follow get cpu properties
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-02-05 22:17:48 +03:00
jief666
333b6ce1ca Hide dead installer prebooter.
Do not hide installer if there is a main partition.
2021-02-04 17:04:31 +03:00
jief666
fa0bdcd181 Starting to refactor settings. 2021-02-02 12:02:21 +03:00
jief666
16c627596f Rename OSVersion to macOSVersion.
Fixed some icons ordering in main menu.
Fixed macOs version detection for custom entries.
Fixed main Big Sur partition appearing in menu.
Refactor IsValidGuidAsciiString.
2021-01-31 12:50:23 +03:00
jief666
b5e0562a3b DMG boot support through OC. 2021-01-22 11:35:57 +03:00
SergeySlice
7327d95aba adding data for iMac20
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-12-13 11:51:50 +03:00
SergeySlice
349e56a68a take into account custom entry may point to apfs partition
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-12-01 22:09:30 +03:00
jief666
a73d7d6d79 kext order for BrcmFirmwareData, BrcmPatchRAM2, BrcmPatchRAM3. 2020-11-28 20:26:45 +03:00
jief666
8a561576cd Add IC when checking drivers name at loading. 2020-11-24 16:01:32 +03:00
jief666
f28e8a2244 Fix DellSmbiosPatch. 2020-11-19 00:49:02 +03:00
jief666
7f1b87c92f Create object MacOsVersion. 2020-11-13 00:25:56 +03:00
jief666
5d91bbe253 Restore USBFixOwnership feature. 2020-11-05 09:29:56 +03:00
Jief L
da8ad5c0eb MSVC compilation. 2020-11-02 16:45:11 +03:00
jief666
9e7b4311cb Make gcc10 thinks it should keep gBuildIdGrepTag symbol. 2020-10-28 20:11:50 +03:00
jief666
5a46bf363f Fix Quirks menu value not taken into account. 2020-10-27 09:12:37 +03:00
jief666
fafc50e3d0 Fix partition name when there is more than 1 system partition in
container.
printf support of "%.*s".
2020-10-26 23:37:32 +03:00
jief666
d540f76b54 Handle Skip in patches. 2020-10-23 21:52:01 +03:00
jief666
109746ca82 Re-implement ordering partition with a no-loop guard.
selfOem.unInitialize()
2020-10-23 09:04:01 +03:00
jief666
6a96d48330 Better name for Preboot.
Ordering of Preboot Main Recovery
2020-10-22 16:55:30 +03:00
jief666
d4afee825b Keep path independant symbol. 2020-10-20 22:50:30 +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
11e2e38420 several optimisations
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-15 10:05:37 +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
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
d2bec9ba0c Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-10-12 15:06:00 +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
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
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
2bc776d63e ReinitRefitLib after Starting an efi image. 2020-10-05 23:45:14 +03:00
jief666
dcd17ca8cd Display full path of acpi files in debug log. 2020-10-05 10:25:53 +03:00