Commit Graph

1391 Commits

Author SHA1 Message Date
Slice
32675cb9d2 merge conflicts
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-01-19 20:08:14 +03:00
Slice
58760b9bc9 use NeedPM fix
Signed-off-by: Slice <sergey.slice@gmail.com>
2024-01-19 20:04:42 +03:00
jief666
64e7d98c88 Little cleanup. 2024-01-19 04:21:23 +01: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
jief666
6e9c3b8462 Improve kext order to match OC and help debugging by comparison. 2024-01-15 18:46:26 +01:00
jief666
07e42d8356 Set label as OC expects it. 2024-01-15 18:45:17 +01:00
jief666
998583fd6b Create misc folder if it doesn't exist. 2024-01-15 18:44:41 +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
bac4bac33a OpenSsl and secureboot compilation. Don't know if it works. 2024-01-10 14:08:21 +01: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
jief
39a96c8185 Fix compilation error in securehash.cpp 2024-01-08 16:23:32 +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
8b2d5934fd Switch IconsNames from CHAR8*[] to LString8[] to avoid memory
allocation.
2024-01-08 11:27:38 +01:00
jief666
286b189846 Create a copy ctor from a LString to avoid unecessary memory allocation. 2024-01-08 11:27:11 +01:00
jief666
2d2b942ef4 Remove Self::getCloverDirAndEfiFileName. 2024-01-08 11:05:52 +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
4b2722a30e MemoryTracker improvement. 2024-01-07 15:52:11 +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
jief666
b2049101a4 Fix Xcode compilation and remove a call to debugStartImageWithOC left by
mistake.
2024-01-02 12:51:17 +01:00
jief666
9d4f83df0c Comment out what's not needed in OcMain. 2024-01-01 12:37:46 +01:00
jief666
04a8211cbe Make OC compile as a library for Clover. It compiles, doesn't mean it's
working !
2024-01-01 11:36:31 +01:00
jief666
381bc886e5 Restore AllocSmallBlocks() needed when MemMap is too big. 2023-12-31 15:19:19 +01:00
jief666
3fd62f2756 edkII update in preparation of upgrade OC to 0.9.7. 2023-12-31 13:43:34 +01:00
Slice
f6fcfeccbd propositions
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-12-26 21:30:08 +03:00
Slice
48ff60474a more memory protections
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-12-25 21:57:47 +03: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
153691acea decrease int i level
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-12-02 12:14:30 +03:00
Slice
09938d410a exclude extra dbg
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-11-26 17:24:13 +03:00
Slice
20e924f5a1 take into account signness of variables
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-11-26 17:10:53 +03:00
Slice
95fac19588 workaround for gcc
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-11-22 19:10:59 +03:00
jief
544d3cee6d Fix some memory leaks. 2023-11-21 01:02:27 +01:00
jief
9e2bc77498 Update cpp_test, CloverX64 and create CloverMacOsApp. 2023-11-20 20:06:35 +01:00
jief
6ac9ed1b54 Change Shortcut to wchar_t to silence warnings. 2023-11-20 20:00:47 +01: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
Slice
c5cb646238 include new files into inf
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-11-19 18:16:34 +03: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