Commit Graph

77 Commits

Author SHA1 Message Date
Slice
4b62853daa take into account memory type DDR5
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-01-13 20:28:01 +03:00
jief666
2d2b942ef4 Remove Self::getCloverDirAndEfiFileName. 2024-01-08 11:05:52 +01:00
jief666
53de33a8f4 Set permission 0644 for files in rEFIt_UEFI. No changes of content. 2024-01-05 16:16:38 +01:00
jief666
bd46eeffe9 Add ForceAquantiaEthernet quirk. 2024-01-04 11:37:47 +01:00
jief666
956cfc1ad4 Do not store the kext dir in the SIDELOAD_KEXT object. 2024-01-02 19:54:23 +01:00
jief
32fbf76326 Update BaseLib.h with macro BASE_LIST_FOR_EACH.
Introduce class apd (automatic pointer destruction)
Introduce MemoryTracker
Weak symbols in MemoryAllocationLib to be able to redefine them (see
MemoryTracker).
Embed LegacyOS instead of a pointer.
Fixed a lot of memory leaks.
2023-11-18 11:04:54 +01:00
jief
22d277d1e4 Change DiscoveredHdaProperties.controller_name to avoid a memory leak. 2023-11-11 14:36:33 +01:00
jief
dbb93abca9 Remove unnecessary casts. 2023-11-07 11:29:52 +01:00
jief
c1ce6aa406 Fix a memory waste in efiStrError().
Create displayFreeMemory().
Few renaming and details that doesn't change behavior.
2023-11-06 23:51:16 +01:00
SergeySlice
7adb640a42 BlockSkywalk will be false by default
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2023-09-05 19:54:23 +03:00
Slice
99fa51da2f support nvram in legacy boot
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-09-04 21:56:03 +03:00
Slice
2711170df4 make block skywalk to be conditional
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-08-27 22:14:02 +03:00
Slice
2d142970c0 make FakeCPUID from SMBIOS
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-06-22 22:50:58 +03:00
Slice
f7c434ca89 add missing systems
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-06-18 21:54:30 +03:00
Slice
2cb4b24a5d smbios automatic chooser
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-06-17 00:44:39 +03:00
SergeySlice
76614b3208 some cleanup
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2023-06-12 14:35:14 +03:00
SergeySlice
3238813474 clean codes for better readability
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2023-06-11 22:08:12 +03:00
SergeySlice
a1d46ccde7 fix misprint
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2023-06-11 21:34:02 +03:00
Slice
e0bde75175 restrict str_version conversion to 3 groups
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-05-31 00:17:19 +03:00
Сергей Исаков
e56b549dca implement tscsync
Signed-off-by: Сергей Исаков <slice@Sergejs-Mac-Pro.local>
2022-10-06 22:14:54 +03:00
SergeySlice
d5a69286c7 use count for dsdt patches
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-08-17 13:58:30 +03:00
SergeySlice
4d3d93231b redirect selfdir in the case of pseudo MS
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-08-01 22:34:35 +03:00
SergeySlice
8216d9f442 take into account non-GOP gfx to be able to change properties in GUI
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-07-20 20:33:57 +03:00
SergeySlice
30f3048fbf revert commit 9598d7ec, fix issue 525
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-07-18 21:11:16 +03:00
SergeySlice
8fc250a95c reconsideration of USB protocol
revert UUID endianess to traitional

Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-05-07 17:03:25 +03:00
jief666
1ea4700bd6 Replace EFI_GUID by a class EFI_GUID. 2022-04-26 00:55:56 +02:00
jief666
562ffe5ff0 Add Skip value in ACPI DSDT patches. 2022-04-14 18:07:46 +02:00
SergeySlice
465dd0d12a technical bug shouldnt be in release
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-04-06 19:05:05 +03:00
SergeySlice
8883032765 exclude error about absent theme
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-04-06 18:49:44 +03:00
SergeySlice
9337508928 exclude debug messages on screen
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-03-24 20:32: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
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
d388e910fe wrong DEBUG usage, firmware version is 2
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-01-23 15:19:15 +03:00
jief666
eebffc9de8 Reset configPlist before reloading. 2021-12-05 09:31:28 -06:00
SergeySlice
1ba1ba6d6c implement ForceOcWriteFlash
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-11-11 21:58:28 +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
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