Commit Graph

70 Commits

Author SHA1 Message Date
jief666
59d8cbad7f Refactoring KEXT_PATCH.
Change numerous CHAR8* CHAR16* to XString.
2020-08-12 18:15:47 +03:00
jief666
29718aaa0b Fix -W effc++ warnings.
SETTINGS_DATA is a class.
XIcon is separate class.
KernelAndKextPatches in LOADER_ENTRY is not a pointer anymore.
2020-08-11 15:43:53 +03:00
jief666
7765a988fe XStringArray self assignament test.
Rename SPrintf S8Printf.
Rename NullXString NullXString8.
Rename XStringArray XString8Array.
2020-08-11 09:00:19 +03:00
jief666
4555bb9e9f Remove the last PoolPrints. 2020-08-09 18:55:30 +03:00
jief666
feba2f1399 Rework APFS Preboot and Recovery volumes 2020-08-07 11:23:46 +03:00
SergeySlice
fab169defe account kext address can be decimal
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-24 21:59:51 +03:00
SergeySlice
0143e228ee right way to patch kexts
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-23 22:14:20 +03:00
SergeySlice
f7c13f0b84 repair kext patching
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-22 23:23:38 +03:00
SergeySlice
69e0e0327c debug kext patching
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-21 12:17:02 +03:00
SergeySlice
dddceaae36 exclude double headers
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-21 09:33:43 +03:00
SergeySlice
33816ae90a separate prelinked and symtab
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-20 19:05:18 +03:00
SergeySlice
7188cde799 repaired symbolic patching for bigsur
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-20 11:52:36 +03:00
SergeySlice
bfe7db9208 shift symbolic table
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-17 23:45:01 +03:00
SergeySlice
d36f1ae23a embedded patch to cure 8 apples
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-27 21:04:31 +03:00
SergeySlice
85d3bd1ad9 dynamic daylight, some optimisation
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-17 21:56:10 +03:00
SergeySlice
6236534ec4 include AddDefaultMenu to class
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-16 23:07:27 +03:00
SergeySlice
22f9adcbc9 using XIcon class for dynamic images
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-16 22:30:29 +03:00
SergeySlice
56c4e4dd48 exclude unused variables, move globals into class
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-11 18:44:00 +03:00
SergeySlice
d5305c8cc8 exclude Kernel support CPU patch as redundand and not correct
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-09 11:55:33 +03:00
SergeySlice
dc4d0062a8 Kernel pointer will be member of loader class
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-09 10:56:30 +03:00
SergeySlice
5cb5243b79 always patch PM if XCPM
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-09 08:22:31 +03:00
SergeySlice
562e571d32 take into account longer DSDT
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-06 09:21:30 +03:00
SergeySlice
1a3081dc27 new lapic patch, simplify searchProc
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-05 22:15:59 +03:00
SergeySlice
70fea56ee4 change a way to find symbols in kexts
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-03 20:16:50 +03:00
SergeySlice
355e99d6bf new way kext allowing patch
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-02 06:38:38 +03:00
SergeySlice
6b33696c93 kext and kernel patches will be part of LOADER_ENTRY class
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-01 19:26:28 +03:00
Jief L
de2bb5f950 Refactor some Path to XStringW. 2020-04-27 12:50:49 +03:00
Jief L
af28b47c72 Refactor BootOptions as XStringArray. 2020-04-26 16:07:30 +03:00
jief
7d43ca70d5 XStringArray re-implementation with template. 2020-04-26 13:12:05 +03:00
Jief L
fd0f4589ec New implementation of XString. 2020-04-23 16:20:48 +03:00
Sergey Isakov
9440b56a61 refactor custom boot
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-11 15:34:59 +03:00
Sergey Isakov
84a320ba5d big cleanup to XTHEME
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-10 13:04:21 +03:00
Jief L
b8bb76d51e Refactor LoadOptions as XString. 2020-04-05 15:25:39 +03:00
Sergey Isakov
8b5ec83c6a refactoring menu entries
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-03 23:00:42 +03:00
Sergey Isakov
f70c4e14d2 refactoring DrawText and Pixels
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-01 15:57:32 +03:00
Jief L
651f7a02c6 Get rid of Print() calls. 2020-03-28 18:14:18 +03:00
Sergey Isakov
91ab997f5f xtheme support is mostly working
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-24 18:17:12 +03:00
jief
0484955f0b New platform Posix. Replace strlen, strcmp implementation. 2020-03-13 16:11:58 +03:00
jief
51711c1004 Disable assign & ctor with char* and wchar_t* parameter. 2020-03-10 19:50:55 +03:00
jief
7256a868e5 REFIT_ABSTRACT_MENU_ENTRY.Title to XStringW 2020-03-10 14:51:04 +03:00
jief
a33bcb45d3 Switch struct EG_RECT to a class.
Define basic operators.
2020-03-10 13:27:05 +03:00
jief
a601d335ea Clean the menu item hierarchy, 2. 2020-03-10 13:00:17 +03:00
jief
41c49267a5 Clean the menu item hierarchy. 2020-03-10 12:45:17 +03:00
jief
1cb7b4e69e Few cleaning in XImage. XPointer improvement.
Renamed some method in XArray XObjArray and XStringW.
2020-03-09 04:12:24 +03:00
Sergey Isakov
5dbf1e0360 always create cloverx64.efi
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-06 22:56:32 +03:00
Sergey Isakov
d71acbb41d testing draw, not working
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-06 17:02:06 +03:00
jief
564a3ca06c Make XPointer a shared instance. Fixed some unallocated memory with
XArray.
2020-03-06 10:55:52 +03:00
Sergey Isakov
0ca41b23f2 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-03-05 14:50:13 +03:00
Sergey Isakov
437e2b9965 a trick to not generate memset in VS2017
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-05 14:49:47 +03:00
jief
5fb0d2a601 Remove duplicated member AtClick 2020-03-05 14:43:31 +03:00