Commit Graph

36 Commits

Author SHA1 Message Date
jief666
c26dec1e78 ResizeAppleGpuBars. 2021-10-30 06:39:10 +02:00
jief666
e036b3d54b Do not display config info messages at launch. 2021-10-29 21:56:32 +02:00
jief666
e1fe2bc9bb Simplify validate methods as suggested by Slice. 2021-10-21 11:53:15 +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
8b14c24c7c Fix access to undefined SlotCount. 2021-10-17 13:20:36 +02:00
SergeySlice
f014920e14 block warning about ProductName
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-10-10 20:08:20 +03:00
SergeySlice
ec1f8a6a4a implemented hw.target
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-10-08 22:49:07 +03:00
jief666
542b812276 Refactor array of RamSlotInfo and RAM_SLOT_INFO to avoid allocating
empty slots.
Remove the InUse member.
Remove mHandle17, mInstalled, mEnabled global.
Create numeric_limits.
2021-10-02 20:44:16 +03:00
jief666
83593a5ab9 Convert bool to XBool. 2021-09-28 16:54:31 +03:00
jief666
7b23e6ba3c Remove non const value() in xmllite that breaks encapsulation. 2021-09-28 12:14:59 +03:00
jief666
2c829b66cd Create XBool to avoid nasty side effect when assigning int to bool. 2021-09-28 11:28:45 +03:00
jief666
9c79b8f1c5 Changed hard coded EFI/Clover to self path in menus. 2021-09-27 09:39:06 +03:00
jief666
e8a9e4af4f
Merge pull request #446 from z3DD3r/master
Add ExtendBTFeatureFlags to Quirks
2021-09-25 14:45:42 +03:00
SergeySlice
f0a20247e9 implement ExtendedFeatures
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-09-25 14:33:16 +03:00
jief666
537884c7bd Remove CPU/Latency. Warning if CPU/Latency is used. 2021-09-25 13:57:07 +03:00
z3DD3r
81d1808c0a Add ExtendBTFeatureFlags to Quirks 2021-09-25 11:51:37 +03:00
Sherlocks
a0c543f100 skip error msg when inject edid without custom 2021-07-25 11:28:06 +09:00
jief666
a634a8258c DumpNvram().
Debug messages in Self.
Typo in BootLog.cpp
Comment in XStringAbstract.h
2021-07-02 18:10:10 +03:00
jief666
e6617e3497 Delete useless lines. 2021-07-02 16:15:06 +03:00
jief666
d2e652bd44 Move some initializations in ConfigManager. 2021-07-01 18:16:54 +03:00
jief666
4e995a05e3 Restore correct loading order ConfigManager::LoadConfig(). 2021-07-01 18:03:15 +03:00
SergeySlice
e12aefe816 repaired taking SavingMode from config
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-06-24 22:52:12 +03:00
SergeySlice
f424a77c25 repaired taking C3Latency from config
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-06-23 21:24:46 +03:00
SergeySlice
fe480f9625 exclude unused variables
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-05-23 19:54:24 +03:00
jief666
c0fa72e2ed Prevent "log loop" a better way.
Do not depend on Self instance for opening log file.
Rework on Self to share code with BootLog.cpp.
2021-05-23 13:20:30 +03:00
jief666
2b84ee61a3 Crash in LoadLatestNvramPlist when EfiLibOpenRoot returns null. 2021-05-19 15:28:57 +03:00
jief666
bf74520cef Deprecate FIX_HEADERS. 2021-05-19 15:11:21 +03:00
jief666
d3a9f0ee34 Buildme double compilation.
Unused var in Config_Quirks.h.
gitignore in CloverPackage.
2021-05-12 22:51:33 +03:00
jief666
0b0667997a Try to compile secure boot. Error in some openssl asm instructions. 2021-05-09 17:13:37 +03:00
jief666
fd48766687 Stop ignoring Mouse parameters. 2021-05-08 16:24:10 +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
d52803e7cd DO NOT explicitly call default ctor with new because of clang bug. 2021-05-05 20:10:10 +03:00
jief666
0a8f273560 Cleaning and improvement of PlatformPOSIX.
Create a PlatformPOSIX+EFI.
2021-05-05 13:20:40 +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