jief666
7babc6fe9b
Do not use OC quirks struct anymore in settings.
...
Fix Disabled property in Smbios/Block config.
Move flagstate in GlobalConfig.
Remove gSettings.Smbios.REV, ECPI, RBr and RPlt.
Create getRBr() and getRPlt().
Operator == and isEqual in XArray, XObjArray, SETTINGS_DATA.
Rename equal to isEqual in XString and XStringArray.
Operator == in INPUT_ITEM, undefinable, ABSTRACT_PATCH (and derived) and
RAM_SLOT_INFO class.
Clean b64cdecode.h.
2021-04-11 08:18:52 +03:00
jief666
975ac8f4fb
Implement the possibility to cache XString size. Not activated.
...
Improve unicode_conversions.
Move strlen declaration to string.h.
2021-04-08 18:07:05 +03:00
jief666
277f3e8619
Speed up devprop_generate_string by using a XBuffer instead of a String.
...
Create a S8Catf in XBuffer.
2021-04-08 11:01:20 +03:00
jief666
c11a90046a
Create GetFwFeatures(), GetMobile() and GetPlatformFeature in
...
PlatformData.
Create panic_ask for future possibility of toogle panic on and off.
2021-04-07 00:45:58 +03:00
jief666
2cf69b2b55
Rename ABSTRACT_PATCH Data & Patch, Find and Replace.
...
Create GetChassisTypeFromModel() and GetFwFeaturesMaskFromModel().
Ignore first '\' in ForceKextsToLoad.
XString : Add a parameter to wc_str to access address of nth chars.
XString : Add endWithOrEqualToIC.
Create ConstXStringArray.
2021-04-06 16:39:55 +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
946a6428b5
Remove the trim to the first space for PartNo, Vendor, SerialNo.
...
Refactor ACPI_NAME_LIST as XString8Array.
Create ACPI_RENAME_DEVICE and ACPI_NAME to replace ACPI_NAME_LIST.
Change RAM_SLOT_INFO and MEM_STRUCTURE into class.
Improve XObjArray::RemoveWithoutFreeingAtIndex.
Create XStringArray::ExtractFromPos.
Move CheckFatalError and CheckError to BasicIO.
2021-04-05 11:57:55 +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
96909661a0
Fix "ROM" parameter not read soon enough.
2021-04-02 10:46:23 +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
a5494a89f6
Create SETTINGS_DATA Devices section.
...
Convert AddProperties to XObjArray<DEV_ADDPROPERTY>.
2021-03-29 11:50:02 +03:00
jief666
773f9bdaf7
Separate ATI and NVIDIA card list.
...
Move MMIOWhiteList, ocBooterQuirks and QuirksMask in Quirks.
Remove MaxSlide as it already exist in ocBooterQuirks as
ProvideMaxSlide.
2021-03-28 23:13:43 +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
dc17de7af3
Remove bad include.
2021-03-28 08:57:15 +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
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
jief666
3252bf63e0
Rename to Language.
...
Create DSDT_Patch.Disabled.
2021-03-25 23:21:41 +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
59552d4e63
Remove loadOptions "Prefix" for custom tools.
2021-03-24 00:23:44 +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
c93da72714
move self initialisation up
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-03-21 17:08:47 +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
60e9707d0e
move SetTable132 in GlobalConfig.
...
Fix in GenFw.
2021-03-19 16:04:19 +03:00
jief666
3fb08d97f8
Continuation of refactor of settings.
2021-03-15 12:02:34 +03:00
SergeySlice
235f13a3db
fix bootlog crash at legacy boot
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-03-06 08:07:06 +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
949da631b9
search nvram.plist only on ESP partitions
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-02-21 18:30:06 +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
f17e66cf8b
print nvram values into log
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-02-21 09:57:43 +03:00
SergeySlice
3b1f57ba86
RenameDevices can be an array
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-02-21 08:48:07 +03:00
SergeySlice
e1a49a85b9
repair RenameDevices
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-02-20 21:33:09 +03:00
SergeySlice
b13a1e5112
remove unused variable
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-02-20 19:32:23 +03:00
SergeySlice
3fbfaf07eb
fix nvram.plist reading
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-02-19 23:07:24 +03:00
SergeySlice
93196411ad
change defaults for SSDT generation because it is done before
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-02-11 22:27:03 +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
jief666
b346d25c32
Align and clean GCC and Xcode build flags.
...
Removed some warnings.
2021-02-09 14:50:23 +03:00
SergeySlice
05dd5ca7ce
add missing files
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-02-07 18:56: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
7b4edb280c
Fix version number unknown.
2021-02-07 09:15:09 +03:00