jief666
2eb35b700d
Fix validator project.
...
Add DoubleClickTime.
2021-05-08 18:55:41 +03:00
jief666
9906261e23
Fix visual studio compilation.
...
Fix some warnings.
Rename panic_ask to log_technical_bug.
2021-05-08 12:34:17 +03:00
jief666
243f6d7b36
Fix validator xcode 12.5 compilation problem.
2021-05-06 10:55:11 +03:00
jief666
0a8f273560
Cleaning and improvement of PlatformPOSIX.
...
Create a PlatformPOSIX+EFI.
2021-05-05 13:20:40 +03:00
SergeySlice
626637762c
merge conflicts
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-05-04 19:23:48 +03:00
SergeySlice
9c6e5ce05c
add new csr bits to Clover GUI to choose
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-05-04 19:21:42 +03:00
jief666
391ed70310
Fix bug in ConfigPlist when an unknown key happens is ACPI/DSDT/Fixes.
...
Light refactor of PauseForKey.
gSettings.CPU.SavingMode is ConfigManager.
PlatformPosix : do not redefine abort(), use abort() instead of
CpuDeadLoop().
Format debug.log file name.
Use malloc/free instead of AllocateZeroPool/FreePool for validator
compatibility.
Use strlen instead of AsciiStrLen for validator compatibility.
getRBr() and getRPlt() : make them independent from global var.
Fix wrong line number in XmlLiteParser.
2021-05-04 13:03:40 +03:00
SergeySlice
fb86ee152a
update clover.proj
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-04-29 21:13:13 +03:00
jief666
720e3de375
Fix Validator xcode project.
2021-04-29 20:08:51 +03:00
jief666
efb5e87c96
Validator : display version.
2021-04-29 00:03:58 +03:00
jief666
0223567648
New parser XML. New ConfigManager. A lot of refactoring...
2021-04-28 21:30:34 +03:00
SergeySlice
f28e98fb33
update IndustryStandards
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-04-26 21:04:07 +03:00
SergeySlice
deeea43b79
dont double CPU examine
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-04-17 14:32:32 +03:00
SergeySlice
fd3b09cf13
include files into xcode project
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-04-11 07:43:17 +03:00
jief666
6545450f02
Ignore empty if device property value is empty.
...
Ignore commented device properties in FillDevicePropertiesOld.
Rename Name to acpiName.
2021-04-05 15:00:17 +03:00
jief666
6ff5bab8a5
Create section Smbios and BootGraphics.
...
Move OptionsBits and FlagsBits in GlobalConfig.
Move OEMVendor, OEMProduct, OEMBoard in GlobalConfig.
Move KernelPatchesAllowed, KextPatchesAllowed, EnabledCores and
BlockKexts in GlobalConfig.
Create RomVersionUsed, EfiVersionUsed and ReleaseDateUsed in
GlobalConfig.
Move gFwFeatures, gFwFeaturesMask, gPlatformFeature, SlotDevices in
Smbios section.
Move UserInUse, UserChannels and User from gRAM to Smbios settings
section.
Rename enum LANGUAGES to LanguageCode.
2021-04-03 17:42:49 +03:00
jief666
d54fc63747
new folder PosixCompilation. Ressources to compile Clover as a mac
...
application, for unit tests.
2021-04-03 13:55:25 +03:00
jief666
69a47c5fac
Create Properties, Arbitrary and AddProperties menu.
...
hex2bin returns the length when passing NULL for out parameter instead
of 0.
Buildid in OEMString for my own build.
Create TagTypes.h.
Rename AddProperties to AddPropertiesArray.
devprop_generate_string now returns a XString8.
Add cpy method in XBuffer.
Add strsicpy in XString.
2021-04-01 11:06:53 +03:00
jief666
6d37682c03
Create a disabled boolean in RT_VARIABLES (BlockRtVariableArray
...
element).
Create nullGuidAsString and EFI_GUID nullGuid.
Rename VarGuid to Guid in RT_VARIABLES.
2021-03-28 12:12:43 +03:00
jief666
04e288d53b
Fix KPKernelPm KPAppleIntelCPUPM.
...
Fix bad "dead installer" detection.
Exclude a DisableDriversArray string if it's empty.
Rename back PatchVBiosBytesNew to PatchVBiosBytes.
Rename ConfigPlist to ConfigPlistClass.
Minor other renames to clean settings.h.
2021-03-27 21:53:30 +03:00
SergeySlice
ea0c6838f0
merge conflicts
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-03-26 22:15:21 +03:00
jief666
4a3bc612b8
Create settings section Graphics, RtVariables.
...
Mobe Turbo in GlobalConfig.
2021-03-26 12:43:15 +03:00
jief666
fba7032c06
Fix previous fix !
...
Fix some downcast warnings.
Fix menu appearing in text mode.
2021-03-26 08:32:26 +03:00
SergeySlice
5bd8c21a6d
add new files in proj
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-03-26 05:59:11 +03:00
jief666
65f8cc122d
Created ABSTRACT_PATCH.
...
Renamed ForceKexts to ForceKextsToLoad.
Create a copy KPKernelPm, KPAppleIntelCPUPM as they can be modified by
NeedPMfix.
Delete gRemapSmBiosIsRequire, duplicate of Patches->KPDELLSMBIOS
Slight refactor of hex2bin and XMLDecode.
Memory leak in XBuffer.stealValueFrom().
Create XString.strsicat() and stealValueFrom with a size parameter.
2021-03-25 17:32:56 +03:00
jief666
ac7bd4308d
Refactoring CutomLegacyEntries and CustomToolsEntries.
...
Refactor ACPIPatchedAML as a XObjArray<ACPI_PATCHED_AML>.
move Codepage in GlobalConfig.
2021-03-23 22:59:30 +03:00
jief666
ff4c90bc99
Finish refactoring of custom entries settings.
2021-03-23 11:32:57 +03:00
jief666
829fd040dc
Create REFIT_MAINMENU_SCREEN class
...
Create CUSTOM_LOADER_SUBENTRY_SETTINGS, CUSTOM_LOADER_SUBENTRY_SETTINGS
and CUSTOM_LOADER_SUBENTRY.
Clean the sub entries config.plist fields.
Comment unused KernelAndKextPatcherInit, KernelAndKextsPatcherStart,
CheckForFakeSMC
Comment unused OSFLAG_WITHKEXTS and OSFLAG_CHECKFAKESMC
2021-03-22 15:40:01 +03:00
SergeySlice
e18752ab1d
added new application from OC
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-03-21 09:17:23 +03:00
jief666
11ca2c36c6
Adapt compiler options for compilation as a macOs app.
...
Rename CustomBoot to CustomLogoType, CustomLogo to CustomLogoImage.
2021-03-20 17:29:34 +03:00
jief666
2a029bd298
SETTINGS_DATA refactoring.
2021-03-19 23:32:42 +03:00
jief666
d33d0479fa
Continuing refactoring SETTINGS_DATA.
2021-03-19 18:35:01 +03:00
jief666
3fb08d97f8
Continuation of refactor of settings.
2021-03-15 12:02:34 +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
8931904dab
unused variable if not debug
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-02-07 18:10:01 +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
534c5e3397
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2021-02-07 17:39:55 +03:00
jief666
75097bd304
Remove include <Platform.h> from headers. Keep them in sources.
2021-02-07 17:39:03 +03:00
SergeySlice
d5f0ca741c
add platform features for new models
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-02-07 09:26:40 +03:00
jief666
1a02f530db
Refactoring to allow Clover to be compiled as a macOs app.
2021-02-06 20:16:46 +03:00
SergeySlice
6bc80b8486
update list in xcode project
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-02-04 20:45:43 +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
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
SergeySlice
a9778cd8d9
text formatting and project ordering
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-01-06 11:51:02 +03:00
jief666
7f1b87c92f
Create object MacOsVersion.
2020-11-13 00:25:56 +03:00
jief666
b6a13a9f53
Fix GenFW, remove -no-lto for CppMemLib.
2020-11-09 16:19:33 +03:00
SergeySlice
d042fa25a7
no-lto for library
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-11-03 22:13:44 +03:00
Jief L
da8ad5c0eb
MSVC compilation.
2020-11-02 16:45:11 +03:00
SergeySlice
fc3fa0de26
reduce debug.log
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-23 21:48:31 +03:00
jief666
6a96d48330
Better name for Preboot.
...
Ordering of Preboot Main Recovery
2020-10-22 16:55:30 +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
jief666
a2ffdf8642
Add Find/Replace with mask tests.
...
Improve unit test framework.
2020-10-12 17:49:43 +03:00
jief666
0ab6d8a994
First unit test for memory Find-Replace.
2020-10-12 14:51:08 +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
b8a188382c
Make Clover path independent.
2020-10-03 20:02:31 +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
48cdadb0b2
Fix bug where StartLoader cannot find kexts.
...
First implementation of Self object.
2020-09-28 18:57:50 +03:00
jief666
588bd4f342
mOpenCoreConfiguration.Nvram.WriteFlash = true;
2020-09-27 14:52:38 +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
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
babba4de6e
make TagData::setDataValue accept NULL value for data.
2020-08-30 22:53:40 +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
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
8dcf25dc6d
Hardened plist.
2020-08-18 19:45:44 +03:00
jief666
8947e66382
SETTINGS serialize method.
2020-08-13 15:07:40 +03:00
jief666
29718aaa0b
Fix -W effc++ warnings.
...
SETTINGS_DATA is a class.
XIcon is separate class.
KernelAndKextPatches in LOADER_ENTRY is not a pointer anymore.
2020-08-11 15:43:53 +03:00
jief666
7765a988fe
XStringArray self assignament test.
...
Rename SPrintf S8Printf.
Rename NullXString NullXString8.
Rename XStringArray XString8Array.
2020-08-11 09:00:19 +03:00
jief666
4555bb9e9f
Remove the last PoolPrints.
2020-08-09 18:55:30 +03:00
SergeySlice
69e0e0327c
debug kext patching
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-21 12:17:02 +03:00
SergeySlice
dddceaae36
exclude double headers
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-21 09:33:43 +03:00
SergeySlice
cd23181296
move OcQuirks.plist into config.plist and into GUI menu
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-15 20:29:27 +03:00
SergeySlice
830c0c41fe
fix mistakes of previous commits
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-14 08:59:49 +03:00
SergeySlice
8e2636ad64
sort xcode tree
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-14 08:26:38 +03:00
Sergey Isakov
620401dca6
preliminary include OcQuirks into the project with huge amount of unnecessary dependencies
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-07-09 22:06:48 +03:00
Sergey Isakov
c1f2f96041
preliminary include OpenRuntime from OC
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-07-07 22:25:29 +03:00
Jief L
ce9538bb4e
strcpy bug. DecodeOptions bug.
2020-05-03 23:53:50 +03:00
Jief L
5ad1616d7f
XtoolsCommon tests.
2020-05-01 00:43:44 +03:00
Jief L
82b679bcbd
Avoid memory copy at XString initialisation.
2020-04-30 08:17:51 +03:00
SergeySlice
a621438d7c
symbolic kexts and kernel patcher
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-27 18:16:43 +03:00
Jief L
af28b47c72
Refactor BootOptions as XStringArray.
2020-04-26 16:07:30 +03:00
jief
2ccc95513e
Improve Split in XStringArray.
2020-04-26 14:52:10 +03:00
jief
7d43ca70d5
XStringArray re-implementation with template.
2020-04-26 13:12:05 +03:00
Jief L
a71fe28d34
Fix VS compilation.
2020-04-25 12:59:07 +03:00
Jief L
5f195c9d8a
More cleaning in tests.
2020-04-24 12:30:09 +03:00
Jief L
ad33a3b16a
Replace XToolsCommon by XToolsConf in include. Improved panic().
2020-04-24 09:36:29 +03:00
Jief L
73411bbc47
Cleaning in XString. Some method renaming.
2020-04-23 23:43:35 +03:00
Jief L
fd0f4589ec
New implementation of XString.
2020-04-23 16:20:48 +03:00
jief
05d49b78ab
Make mtoc path generic.
2020-04-20 08:26:50 +03:00
SergeySlice
8dc45f00d0
exclude other processors definitions
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-19 21:48:00 +03:00
jief
4faa0aa8a2
Fix %X and %u format for char and short.
2020-04-17 16:14:24 +03:00
Sergey Isakov
6ee56263ec
Version.h will be in root clover folder
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-16 19:31:46 +03:00
Sergey Isakov
79af8de0a0
separated EG_IMAGE to exclude them
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-16 14:42:14 +03:00