jief666
0223567648
New parser XML. New ConfigManager. A lot of refactoring...
2021-04-28 21:30:34 +03:00
SergeySlice
917760ba82
some comments
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-04-15 21:22:14 +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
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
4a3bc612b8
Create settings section Graphics, RtVariables.
...
Mobe Turbo in GlobalConfig.
2021-03-26 12:43:15 +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
e1a49a85b9
repair RenameDevices
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-02-20 21:33:09 +03:00
jief666
8209394af9
Continuing to refactor SETTINGS_DATA.
2021-02-11 14:41:59 +03:00
jief666
7f1b87c92f
Create object MacOsVersion.
2020-11-13 00:25:56 +03:00
Jief L
da8ad5c0eb
MSVC compilation.
2020-11-02 16:45:11 +03:00
jief666
c458db4acd
Typo
2020-10-26 18:02:54 +03:00
jief666
941ff0b3a3
Fix TgtBridge.
2020-10-07 12:15:21 +03:00
jief666
b8a188382c
Make Clover path independent.
2020-10-03 20:02:31 +03:00
jief666
b592a62d6f
Restore Device properties injection.
...
Uncomment SetCPUProperties() SetupDataForOSX()
2020-09-23 08:20:06 +03:00
SergeySlice
352c75c711
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2020-08-30 20:25:30 +03:00
SergeySlice
6dd178030b
more informative print
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-08-30 20:25:16 +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
2961827dce
Correct some refactoring bugs.
2020-08-17 22:40:52 +03:00
jief666
a9bfb87ec2
CmpDev in FIXAirport() could still crash is
...
AirportBridgeDeviceName.length() != 4.
2020-08-16 16:54:14 +03:00
jief666
11817925ae
Add test in CmpDev.
...
Do not call CmpDev if gSettings.AirportBridgeDeviceName is empty()
2020-08-16 11:41:44 +03:00
jief666
351918515f
Restore CmpAdr. length() test in CmpDev.
2020-08-16 10:54:52 +03:00
jief666
bc04c86a93
Refactoring some CHAR8* and CHAR16* to XString.
2020-08-15 16:47:56 +03:00
jief666
59d8cbad7f
Refactoring KEXT_PATCH.
...
Change numerous CHAR8* CHAR16* to XString.
2020-08-12 18:15:47 +03:00
jief666
4555bb9e9f
Remove the last PoolPrints.
2020-08-09 18:55:30 +03:00
SergeySlice
9efd195bbb
one more quirk for dsdt by Exception
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-12 22:10:21 +03:00
Steve
34759a5bd5
Update FixRenameByBridge2() to let it work in SSDTs
2020-06-30 14:28:37 -04:00
Steve
3281303260
Add missing TgtBridge check in AcpiPatcher::PatchAllTables(), fix unexpected rename in OEM SSDTs when TgtBridge is set
2020-06-30 08:56:16 -04:00
SergeySlice
7af605b0b6
eliminate some warnings by gcc10
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-15 06:23:33 +03:00
SergeySlice
0b7eed38f1
no more drop DSM method, it is not universal
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-09 12:15:03 +03:00
SergeySlice
562e571d32
take into account longer DSDT
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-06 09:21:30 +03:00
Jief L
d27afce852
Comment out unused global var.
2020-04-29 23:32:22 +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
SergeySlice
01f33f7552
detect unknown linux versions,
...
stylish change: remove space between func and brace
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-23 12:08:10 +03:00
jief
4faa0aa8a2
Fix %X and %u format for char and short.
2020-04-17 16:14:24 +03:00
jief
9dc66aee39
Remove macro from Platform.h.
2020-04-16 12:09:22 +03: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
Sergey Isakov
95976da8c6
string compatible should not have leading zeroes
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-14 07:34:10 +03:00
jief
3ed1a89bcc
Swicth %X to %x in snprintf and get rid of LowCase.
2020-04-13 10:25:42 +03:00
Jief L
325b576b1d
End of AsciiSPrintf replacement.
2020-04-10 16:52:49 +03:00
Jief L
109cbc1cda
Some more checked conversion to snprintf.
2020-04-10 16:27:04 +03:00
Sergey Isakov
d74b431b6f
repaired system info
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-10 10:15:36 +03:00
Jief L
e734530b9b
Get rid of AsciiSPrint.
2020-03-29 16:44:08 +03:00
SergeySlice
20124ba433
reduce timeout after OS start caused by debug.log with dsdt patching
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-27 20:35:39 +03:00
Jief L
ee6124bd10
Bye bye PoolPrintFloat.
2020-03-26 15:59:20 +03:00
Jief L
e8fd94bb8f
Switch to new printf format for DebugLog.
2020-03-25 21:32:44 +03:00