Commit Graph

25 Commits

Author SHA1 Message Date
Slice
88cca2a814 update versions for modern machines
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-05-31 21:34:30 +03:00
SergeySlice
319545d91f updates versions and SMC keys
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-07-08 18:41:16 +03:00
jief666
ff012267ca Fix CCPV compilation. 2022-05-20 11:29:26 +02:00
SergeySlice
4266f4ddf3 make defaults for HWTarget
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-02-05 15:57:08 +03:00
jief666
e036b3d54b Do not display config info messages at launch. 2021-10-29 21:56:32 +02:00
jief666
710b2dcee5 Allow SmbiosDictClass to work without ProductName defined (using a
defaultMacModel member that has to be assigned before).
Move BiosVersion, BiosReleaseDate and EfiVersion checks in
SmbiosDictClass. Create warnings for incorrect values.
Rename MaxMachineType to MaxMacModel.
Remove GlobalConfig->BiosVersionUsed, ReleaseDateUsed and
EfiVersionUsed.
2021-10-19 19:57:27 +02:00
jief666
cee098d1e6 Rename MACHINE_TYPES enum to MacModel.
Rename PLATFORMDATA array to ApplePlatformDataArrayClass.
Refactor so enum MacModel doesn't have to be in the same order as
ApplePlatformDataArrayClass.
Create static_assert that guarantee that all model has platform data.
2021-10-18 21:06:19 +02:00
jief666
83593a5ab9 Convert bool to XBool. 2021-09-28 16:54:31 +03:00
SergeySlice
f0a20247e9 implement ExtendedFeatures
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-09-25 14:33:16 +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
jief666
0223567648 New parser XML. New ConfigManager. A lot of refactoring... 2021-04-28 21:30:34 +03:00
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
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
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
75097bd304 Remove include <Platform.h> from headers. Keep them in sources. 2021-02-07 17:39:03 +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
SergeySlice
0f12a7e424 add model MBP16,4
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-12-19 21:00:37 +03:00
SergeySlice
7327d95aba adding data for iMac20
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-12-13 11:51:50 +03:00
jief666
b8a188382c Make Clover path independent. 2020-10-03 20:02:31 +03:00
jief666
bc04c86a93 Refactoring some CHAR8* and CHAR16* to XString. 2020-08-15 16:47:56 +03:00
Sherlocks
bbcc916bba Updated firmware versions for T2 models. by Andrey1970
Added MBP162 and MBP163 models
2020-05-20 22:23:49 +09:00
jief
89933f64ac Remove struct definitions from Plateform.h 2020-04-16 10:48:13 +03:00
jief
e429268dfc Remove functions prototypes from Plateform.h 2020-04-16 10:15:26 +03:00