Commit Graph

1888 Commits

Author SHA1 Message Date
jief666
e1fe2bc9bb Simplify validate methods as suggested by Slice. 2021-10-21 11:53:15 +02:00
jief666
23e4b83d20 Display "Your plist looks so wonderful" even when there is info
messages.
2021-10-20 20:38:03 +02:00
SergeySlice
c7d8bbf283 losen commit caa636
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-10-20 18:40:16 +03:00
jief666
be9b4c2d7f Remove outdated dead code (AddLoadOption and RemoveLoadOption). 2021-10-20 10:55:05 +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
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
jief666
8b14c24c7c Fix access to undefined SlotCount. 2021-10-17 13:20:36 +02:00
SergeySlice
dfbdc8ae45 add new OC commits
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-10-10 20:17:47 +03:00
SergeySlice
48c5e2a941 added new kexts folders
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-10-10 20:14:13 +03:00
SergeySlice
f014920e14 block warning about ProductName
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-10-10 20:08:20 +03:00
Sergey
56fe2d4096
Merge pull request #457 from LAbyOne/buildme
Buildme
2021-10-09 22:26:59 +03:00
LAbyOne
90e4de2f9a
Merge branch 'CloverHackyColor:master' into buildme 2021-10-08 23:20:57 +02:00
SergeySlice
ec1f8a6a4a implemented hw.target
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-10-08 22:49:07 +03:00
LAbyOne
caaf5a1503
use gcc11 in main build and, updated few tools 2021-10-07 23:30:45 +02:00
LAbyOne
623ff7231d
Add files via upload 2021-10-07 19:11:18 +02:00
LAbyOne
370bc338dc
Merge branch 'CloverHackyColor:master' into master 2021-10-07 18:44:57 +02:00
SergeySlice
5a57fccb1b use gcc11 in main build
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-10-07 18:42:10 +03:00
LAbyOne
0ed98f25cd
Merge branch 'CloverHackyColor:master' into master 2021-10-07 13:34:18 +02:00
SergeySlice
1584349953 change GenFw for gcc11 compatibility
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-10-06 22:52:32 +03:00
SergeySlice
46ff2a40fd isl library will be local to the repo
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-10-06 19:34:18 +03:00
SergeySlice
019781516a a script to create gcc11
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-10-05 22:25:09 +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
LAbyOne
5733bd9ff8
Merge branch 'CloverHackyColor:master' into master 2021-10-03 13:39:17 +02: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
LAbyOne
8287b5d71a
Merge branch 'CloverHackyColor:master' into master 2021-10-01 13:14:01 +02:00
jief666
83b93234be Move assignment of gCPUStructure.TSCCalibr after
construct_globals_objects.
2021-09-29 16:32:55 +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
c7161c8e97 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2021-09-28 11:28:54 +03:00
jief666
2c829b66cd Create XBool to avoid nasty side effect when assigning int to bool. 2021-09-28 11:28:45 +03:00
LAbyOne
c26c8483ee
Merge branch 'CloverHackyColor:master' into master 2021-09-28 09:41:31 +02:00
SergeySlice
38f629e980 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2021-09-27 22:41:04 +03:00
SergeySlice
5226aa6153 code formatting
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-09-27 22:40:40 +03:00
jief666
e1b8bda24f Left and right arrows were swapped. 2021-09-27 10:38: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
6a6c66a4aa xcode project modified for new files
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-09-25 19:05:16 +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
e6c194d1b9 Change OC_STRING_ASSIGN_N macro to function to fix a side effect. 2021-09-25 13:25:02 +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
jief666
f70da719e5 Panic message if OpenRuntime is wrong.
OC version.
2021-09-25 13:02:47 +03:00