Commit Graph

937 Commits

Author SHA1 Message Date
jief666
0ab6d8a994 First unit test for memory Find-Replace. 2020-10-12 14:51:08 +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
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
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
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
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
f663e8fc10 Force OC CustomSmbiosGuid to false. 2020-09-27 23:02:38 +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
bf59b13c93 Allow kext without executable.
malloc size bug for mOpenCoreConfiguration.Kernel.Patch.Values.
hardcoded resolution Max for OC.
Kernel arch x86_64 instead of X86_64
2020-09-21 17:02:31 +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
648f5c3d3b Enforce plist correctness. 2020-09-19 23:32:46 +03:00
jief666
09634f7c94 remove READ_FROM_OC 2020-09-19 14:40:41 +03:00
jief666
8cf91394a2 USE_OC_SECTION 2020-09-18 22:54:30 +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
584df7808f Static assert with messages. 2020-09-17 09:43:46 +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
SergeySlice
f4b3445135 ignore OcQuirks.efi if present
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-09-10 21:35:10 +03:00
jief666
3a2d6f14c7 Xcode warning and project. 2020-09-09 22:02:58 +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