Commit Graph

1210 Commits

Author SHA1 Message Date
SergeySlice
7b8e787751 code style: exclude tabs
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-02-13 21:21:04 +03:00
SergeySlice
ad44b1a68f few comments
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-02-11 22:23:58 +03:00
SergeySlice
294551b969 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2022-02-08 20:01:10 +03:00
SergeySlice
362e2e7934 some guid comments
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-02-08 19:22:40 +03:00
SergeySlice
0d7169a5cd update standards
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-02-07 20:01:31 +03:00
SergeySlice
4266f4ddf3 make defaults for HWTarget
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-02-05 15:57:08 +03:00
SergeySlice
79f048aa46 exclude temporary files from compilation
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-02-02 20:52:17 +03:00
SergeySlice
2aa7f5c42e change some defaults
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-01-30 21:49:31 +03:00
SergeySlice
4c040a5eb5 provide menu entry for new quirks
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-01-29 13:59:16 +03:00
SergeySlice
08b24e5649 array size
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-01-28 22:29:33 +03:00
SergeySlice
7945747d83 implement ProvideCurrentCpuInfo
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-01-28 21:47:15 +03:00
SergeySlice
80a7bd0b7a some style check
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-01-25 20:07:33 +03:00
Sergey Isakov
b65ace3b58 VS2017 compatibility
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2022-01-23 19:12:22 +03:00
SergeySlice
d388e910fe wrong DEBUG usage, firmware version is 2
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-01-23 15:19:15 +03:00
SergeySlice
7ffa4d6bf8 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2022-01-22 13:39:41 +03:00
SergeySlice
ebb6e486ba some comments on AMD cards
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-01-22 13:39:20 +03:00
SergeySlice
8e678ac895 set default models for Haswell computers to be Monterey compatible
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-01-18 20:24:25 +03:00
SergeySlice
2de9d98382 check default extended features for more models
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-01-15 10:06:07 +03:00
SergeySlice
62ad226e21 MatchBuild absent should means allowed
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-12-24 21:22:53 +03:00
SergeySlice
16aba10098 delete unused variable
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-12-19 08:17:30 +03:00
jief666
eebffc9de8 Reset configPlist before reloading. 2021-12-05 09:31:28 -06:00
SergeySlice
981e737da3 take into account CometLake
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-11-26 22:26:29 +03:00
SergeySlice
c10a0b7f57 support for 11h and 12h generation of IntelCPU
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-11-17 19:40:36 +03:00
SergeySlice
d537baf58d some info about HWTarget
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-11-14 21:16:50 +03:00
SergeySlice
1ba1ba6d6c implement ForceOcWriteFlash
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-11-11 21:58:28 +03:00
SergeySlice
57b93550f8 a separate folder for OpenRuntime-v12 for possibility to start old Clover with OpenRuntime-v11
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-11-01 21:26:41 +03:00
SergeySlice
5c3e2eacb0 hwtarget is not for installer
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-10-31 21:40:55 +03:00
SergeySlice
b624e4d1e9 exclude doubles
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-10-30 11:55:55 +03:00
SergeySlice
aebddff13d corrections for previous commit
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-10-30 11:37:40 +03:00
SergeySlice
9ce3a2607b Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2021-10-30 11:21:44 +03:00
SergeySlice
05615c24f4 make a bridge to new quirks
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-10-30 11:21:39 +03:00
jief666
109901bbeb Better log in case of messages about config,plist.
Implememts --info in ccpv.
2021-10-30 08:58:43 +02:00
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
07b993b8b2 Clean some unused globals in main.cpp 2021-10-27 21:41:42 +02:00
jief666
891edf8a3c Cleaning Settings.h 2021-10-27 19:37:54 +02:00
jief666
e1fe2bc9bb Simplify validate methods as suggested by Slice. 2021-10-21 11:53:15 +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
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
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
83b93234be Move assignment of gCPUStructure.TSCCalibr after
construct_globals_objects.
2021-09-29 16:32:55 +03:00