Commit Graph

844 Commits

Author SHA1 Message Date
Slice 97fe5c2fc8 check signness at RLE
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-06-09 12:44:46 +03:00
Slice eb76853ba7 use signed height
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-06-08 22:51:49 +03:00
Slice e8933cda38 autofill SMBIOS in the case of manual change product
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-06-05 22:15:32 +03:00
Slice 06d591c810 prepare to fifteen
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-05-19 20:25:30 +03:00
Slice aadc641651 clear mmio in some cases
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-02-24 21:05:23 +03:00
Slice 159aa8d335 change wrong statement
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-02-24 13:11:51 +03:00
Slice 841ff01f27 fix absent variable
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-01-25 07:55:26 +03:00
Slice ab932e4614 refine debug
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-01-25 07:47:04 +03:00
jief666 7e105c98da Add "FirstAvailable" option for DefaultVolume. 2024-01-19 04:14:17 +01:00
Slice 0cb5da745a repair PM lock control
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-01-17 22:21:19 +03:00
jief666 8697e9380b Do NOT do : gCPUStructure.Family += gCPUStructure.Extfamily;
Feed OC with the proper CPU Model number.
2024-01-15 18:47:28 +01:00
Slice 4b62853daa take into account memory type DDR5
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-01-13 20:28:01 +03:00
Slice ce3e4376bd fix previous commit about family
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-01-12 22:32:40 +03:00
Slice fa55f15b4f fix trust smbios
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-01-12 22:14:09 +03:00
jief666 dcdf3e9720 Fix version not detected for kext plugins. 2024-01-09 16:09:56 +01:00
jief 539e26a97e Fix compilation of secureboot. Compile, but doesn't link yet. 2024-01-08 23:13:37 +01:00
jief 4ff4e37644 Fix a warning. 2024-01-08 23:12:17 +01:00
jief666 38564b2870 Improve MemoryTacker. Use gBS->FreePool() instead of FreePool for
firmware allocated memory.
2024-01-08 11:28:32 +01:00
jief666 17c8480280 Search kext executable by name if CFBundleExecutable leads to a non
existant file.
Add corecaptureElCap.kext, IO80211ElCap and
IO80211ElCap/Plugins/AirPortAtheros40.kext in oredered list.
2024-01-07 18:14:33 +01:00
jief666 5faf2f688b plist : incorrect use of LString8. Memory was NOT copied in TagString,
TagKey, TagDate.
2024-01-07 15:54:17 +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
Slice 00466c6e61 reduce clover size
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-12-16 10:10:04 +03:00
SergeySlice 2325f3799b new cpu 12th, 13th
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2023-12-11 20:18:48 +03:00
Slice 95fac19588 workaround for gcc
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-11-22 19:10:59 +03:00
jief ca166219f0 Move displayFreeMemory in its own file for Utils not to depend on OC. 2023-11-20 20:00:04 +01:00
jief 495dd319c3 Fixed some warnings. 2023-11-20 19:58:56 +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
Slice 1914496605 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2023-11-16 21:11:08 +03:00
Slice d0b6b9b3b9 few more memory leaks
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-11-16 21:10:42 +03:00
jief a9b0654a59 Improve XString forgetDataWithoutFreeing() to avoid freeing a literal.
Improve XString stealValueFrom to avoid a memory leak
Change GlobalConfig.ACPIDropTables to a XObjArray.
2023-11-12 03:48:29 +01:00
jief 42cece9885 Fix nanosvg leaks.
Move global variable textfaces in XTheme.
Move global variable fontsDB in XTheme.
Remove XTheme member SVGParser. SVGParser is deleted just after use.
Remove XTheme members ImageSVG and ImageSVGnight. All images are
rasterized at load, so no need to keep that.
Remove XIcon setFilled because XIcon knows if it's filled or not by
checking Image & ImageNight
2023-11-08 14:35:22 +01:00
jief 8de61a22fb XIcon::GetBest now returns a reference, which save time and memory.
Added some const.
Remove GetIconP from XTheme.
2023-11-07 17:40:28 +01:00
jief dbb93abca9 Remove unnecessary casts. 2023-11-07 11:29:52 +01:00
jief 0130602198 Make GetSizeInBytes() in XImage public.
Change ParseXML first parameter to UINT8 to avoid casts.
2023-11-07 11:02:22 +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
jief 45795ccfcc Make ThemeX a pointer. 2023-11-06 21:53:57 +01:00
jief 88a2a69734 Fix include path.
Revert a FreePool mistakenly commented out.
2023-11-05 18:56:53 +01:00
Slice 5fb1f0b048 take into account MeteorLake CPU
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-10-24 19:12:53 +03:00
Slice cc7603a832 add new id to ati collection
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-10-14 23:02:00 +03:00
Slice e375956169 dont use HDEF and HDAU names, it is AppleALC business
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-09-21 21:48:03 +03: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 2cb4b24a5d smbios automatic chooser
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-06-17 00:44:39 +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
Slice 18e1640d92 switch to gcc-13
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-06-03 15:54:38 +03:00
Slice 88cca2a814 update versions for modern machines
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-05-31 21:34:30 +03:00