Commit Graph

308 Commits

Author SHA1 Message Date
jief666
381bc886e5 Restore AllocSmallBlocks() needed when MemMap is too big. 2023-12-31 15:19:19 +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
Slice
20e924f5a1 take into account signness of variables
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-11-26 17:10:53 +03:00
jief
544d3cee6d Fix some memory leaks. 2023-11-21 01:02:27 +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
d0b6b9b3b9 few more memory leaks
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-11-16 21:10:42 +03:00
jief
187400d0ae Why did I put the FreePool parameter as const. That's stupid !
You must never free a const pointer, by definition.
2023-11-11 15:57:02 +01:00
Slice
d512413977 print memory map for log
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-11-09 23:05:33 +03: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
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
jief
45795ccfcc Make ThemeX a pointer. 2023-11-06 21:53:57 +01:00
Slice
06e0d72e40 set priority for wifi legacy kext
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-10-21 20:26:52 +03:00
Slice
d21d5b2e65 skywalk priority
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-09-12 22:14:41 +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
c653a7378a block skywalk version2
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-08-27 20:00:02 +03:00
SergeySlice
772746c694 test version for blocking skywalk
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2023-08-27 13:29:21 +03:00
Slice
f8c6d764d4 some cleanup
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-06-28 22:01:41 +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
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
Slice
5a6e6e363d Sonoma compatibility
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-06-05 22:23:36 +03:00
Сергей Исаков
e56b549dca implement tscsync
Signed-off-by: Сергей Исаков <slice@Sergejs-Mac-Pro.local>
2022-10-06 22:14:54 +03:00
SergeySlice
70a37b142c dont fix ownership for VIA
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-10-05 21:04:32 +03:00
SergeySlice
12aa924078 repair clover entry
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-08-02 22:12:31 +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
373008f57b embed FirmwareVolume protocol, separate driver excluded
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-07-02 13:08:16 +03:00
SergeySlice
53f60e49d7 fix DefaultBackgroundColor
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-07-02 10:08:53 +03:00
SergeySlice
2c28c23fdd take Ventura into account
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-06-24 19:03:14 +03:00
jief666
48be65956e Upgrade to OC pre version 0.8.2. 2022-06-19 18:46:52 +02: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
SergeySlice
9337508928 exclude debug messages on screen
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-03-24 20:32:31 +03:00
SergeySlice
799880e95a more test for apfs
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-03-13 20:01:48 +03:00
SergeySlice
2bc6361ae8 exclude testing codes
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-03-13 08:47:07 +03:00
SergeySlice
7f87e8cc8c testing force kexts
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-03-13 08:25:01 +03:00
SergeySlice
aab98d9408 first found volume is not good enough
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-03-10 19:48:39 +03:00
SergeySlice
e6d2d6ab7b search other volume
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-03-09 22:34:49 +03:00
SergeySlice
9598d7ec94 choose other volume root
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-03-08 21:57:31 +03:00
SergeySlice
5f9f7072a3 correct root pointer
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-03-08 19:48:52 +03:00
SergeySlice
d69a944398 prepare for kext injecting, step 2
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-03-06 13:42:12 +03:00
SergeySlice
af0fb92a75 exclude unused old methods for kext inject
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-03-06 09:42:49 +03:00
SergeySlice
bf067e514c a template todo
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-03-02 21:55:17 +03:00
SergeySlice
619d9e870f include FakeSMC into strict order
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-02-19 19:35:52 +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
SergeySlice
62ad226e21 MatchBuild absent should means allowed
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-12-24 21:22:53 +03:00