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
2988fb41be
Fix SlotCounts >= MAX_RAM_SLOTS to SlotCounts > MAX_RAM_SLOTS
2021-10-19 12:27:41 +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
SergeySlice
ec1f8a6a4a
implemented hw.target
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-10-08 22:49:07 +03:00
SergeySlice
26f6050622
one more compatibility issue
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-10-05 19:00:02 +03:00
SergeySlice
198a8e3d9b
c++20 compatibility
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-10-03 20:33:03 +03:00
jief666
6238a02434
Remove incorrect text in debug message.
2021-10-03 09:53:30 +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
2c829b66cd
Create XBool to avoid nasty side effect when assigning int to bool.
2021-09-28 11:28:45 +03:00
jief666
c6b08f89ba
Change DsdtsList from statically allocated to XStringWArray.
2021-09-27 10:18:52 +03:00
jief666
8134f37bde
Change ConfigsList from statically allocated to XStringWArray.
2021-09-27 10:05:11 +03:00
jief666
9c79b8f1c5
Changed hard coded EFI/Clover to self path in menus.
2021-09-27 09:39:06 +03:00
SergeySlice
ed10c41581
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2021-09-25 15:14:21 +03:00
SergeySlice
4be6350c94
FirmwareFeatures must be odd
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-09-25 15:13:38 +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
jief666
9d7d7b6059
Delegate patching ACPI if USE_OC_SECTION_Acpi is defined.
...
Comments.
2021-09-25 13:17:25 +03:00
jief666
c9794ad85d
Create union for uint32 signature with SignatureAs4Char. Useful in gdb.
2021-09-25 13:11:54 +03:00
z3DD3r
81d1808c0a
Add ExtendBTFeatureFlags to Quirks
2021-09-25 11:51:37 +03:00
jief666
9098b56bdf
Make OC 0.7.3 compile as a library for Clover. It compiles, doesn't mean
...
it's
working !
Imported some new definition in MdePkg.
Add RegisterFilterLibNull and MdeLibs.dsc.inc.
Set PcdDebugPropertyMask to UINT8.
2021-09-23 13:36:41 +03:00
SergeySlice
2e387406cd
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2021-09-02 18:43:44 +03:00
SergeySlice
070037aac1
more security check in acpi patcher
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-09-02 18:43:38 +03:00
SergeySlice
f7add0788f
secure check for ssdt length
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-09-01 19:38:35 +03:00
Sherlocks
c7dd0cb8cb
Update Platformdata
2021-07-25 11:25:36 +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
SergeySlice
f424a77c25
repaired taking C3Latency from config
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-06-23 21:24:46 +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
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
54bddb2fa9
Fix wrong access to SlotDevices in FixAirport.
...
Send panic message to log.
2021-05-06 09:23:07 +03:00
jief666
d52803e7cd
DO NOT explicitly call default ctor with new because of clang bug.
2021-05-05 20:10:10 +03:00
SergeySlice
8dab184a8b
PauseForKey has new argument type
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-05-05 18:40:10 +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
jief666
0223567648
New parser XML. New ConfigManager. A lot of refactoring...
2021-04-28 21:30:34 +03:00
jief666
51d5d4a141
Fix compilation Xcode 12.5.
...
Debug message in Smbios.cpp.
2021-04-28 21:00:28 +03:00
SergeySlice
5bc175a753
accept commit 4bf2a5b from Tianocore
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-04-26 19:57:04 +03:00
jief666
afa09ccb4e
OpenCorePkg new commit.
2021-04-23 17:54:59 +03:00
jief666
cc3c8fe0a7
Fix bug : it was ignoring legacy with PBR, MBR and CD.
...
Uncomment eComStation, BeOS, ZETA and Haiku legacy boot sector
detection.
Return unknown icon instead of dummy.
Improve legacy entries title when _LoaderTitle is empty.
Create log_technical_bug(). Temporary redirected to panic.
Hardened egLoadFile().
Hardened SelfOem.
Copy ctor in XStringArray.
Improve qemu launch scripts.
2021-04-23 15:20:48 +03:00
SergeySlice
caa636eb6d
supported RX6800XT in 11.4
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-04-22 06:07:46 +03:00
jief666
a1a27d29a1
Improve some messages.
...
unicode_conversions version.
2021-04-21 08:32:38 +03:00
SergeySlice
deeea43b79
dont double CPU examine
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-04-17 14:32:32 +03:00
jief666
541762427a
Real fix to XCode optimization bug.
2021-04-16 12:55:51 +03:00
jief666
e7bb2bd3bd
Test to see if it could be a compiler bug.
2021-04-16 00:16:41 +03:00
SergeySlice
ea21418467
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2021-04-15 21:43:41 +03:00