Commit Graph

731 Commits

Author SHA1 Message Date
Sergey Isakov
66218af8aa update python tools
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-20 07:56:20 +03:00
Sergey Isakov
d49c68ae80 check for zero size allocation 2019-09-19 22:14:57 +03:00
Sergey Isakov
9890657d71 added a header for apfs 2019-09-19 17:53:10 +03:00
Sergey Isakov
862ce3ccc8 revise ApfsDriverLoader, syncing with sf 5089 commit by Zenith432 2019-09-19 17:25:26 +03:00
Sergey Isakov
4b9b2b4251 Sum will never overflow 2019-09-19 15:56:27 +03:00
Sergey Isakov
80c5b67d7e fix memory leaks
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-17 15:48:49 +03:00
Sergey Isakov
a9207a9305 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2019-09-17 15:34:34 +03:00
Sergey Isakov
6fcdc801e2 use safe division for uint64
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-17 15:34:16 +03:00
Sergey Isakov
22714fdc0b Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2019-09-16 20:39:11 +03:00
Sergey Isakov
210c363c0f introduce future Intel processors
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-16 20:38:53 +03:00
Sergey Isakov
ae995a5c76 fix type conversion for VS2017 compatibility
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-16 16:22:52 +03:00
Sergey Isakov
e823a1ca44 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2019-09-15 21:27:34 +03:00
Sergey Isakov
14a7206c5b some fighting with idiotic ASSERTs
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-15 21:27:19 +03:00
vectorsigma72
5db875d2ef GCC53 is the default toolchain
GCC53 is the default toolchain. If x86_64-clover-linux-gnu-gcc (on macOS) is not found then XCODE8 will be used.
2019-09-15 20:06:04 +02:00
Sergey Isakov
3345280983 new revision 5084
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-15 09:04:03 +03:00
Sergey Isakov
9daea8b734 apply changes to build_rule by Zenith432
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-15 08:11:26 +03:00
Sergey
106cbf38ec
Merge pull request #1 from Florin9doi/branch_2019-09-v2
Modify PatchACPI to assign processorIDs from DSDT
2019-09-15 04:52:24 +00:00
Sergey Isakov
f621fbf2c0 exclude unused SourceLen
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-15 07:42:33 +03:00
Sergey Isakov
f76a8c3019 fix memory allocation for legacy Clover
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-14 19:30:51 +03:00
Florin9doi
ebcac449c7 Apply last patch's idea to LocalApicNMI as well
and resolves an uninitialized read:
......
   LocalApicNMI++;
   ApicTable->Length += LocalApicNMI->Length;
......
2019-09-14 17:05:27 +03:00
Florin9doi
d5021f3f04 Modify PatchACPI to assign processorIDs from DSDT
macOS assumes that the first processor from DSDT is always enabled, without checking MADT table
here we're trying to assign first IDs found in DSDT to enabled processors in MADT, such that macOS assumption to be true
2019-09-14 16:57:54 +03:00
Sergey Isakov
ecab494bd2 fix conflict
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-13 22:35:36 +03:00
Sergey Isakov
cec0fcbb68 changes for legacy hardware
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-13 21:50:51 +03:00
Sergey Isakov
e03c8d559f avoid unused Status and more security checks
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-13 14:47:45 +03:00
Sergey Isakov
04e32e6f42 exclude unused CPUBase, by Florin9doi
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-13 13:45:30 +03:00
Sergey Isakov
0a8c146676 system libraries shouldnt dereference null pointer in RELEASE compilation
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-13 13:27:37 +03:00
Sergey Isakov
a5e5da3717 move gcc flags from gcc48 to gcc49 definition
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-13 11:04:57 +03:00
Sergey Isakov
1a1d230d3e Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2019-09-12 22:40:54 +03:00
Sergey Isakov
59e0a2856a correct tools_def by Zentih432
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-12 22:40:41 +03:00
vectorsigma
07675ef3c6 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2019-09-12 20:05:06 +02:00
vectorsigma
4a66b22602 Update buildme 2019-09-12 20:04:50 +02:00
Sergey Isakov
8672324c1b change version
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-12 18:45:17 +03:00
Sergey Isakov
fb85d026f9 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2019-09-12 15:57:36 +03:00
Sergey Isakov
f45e1fdb5c some security checks
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-12 15:57:15 +03:00
vectorsigma
58acdb5ef7 Fixed uninitialized variable 2019-09-12 14:44:44 +02:00
Sergey Isakov
73ea83b9ae add -Wno-unused-but-set-variable to GCC* flags
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-12 15:19:48 +03:00
Sergey Isakov
a557a314a6 dont say mouse cant bear if it is disabled
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-12 13:56:28 +03:00
Sergey Isakov
3f3066dc06 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2019-09-12 13:38:00 +03:00
Sergey Isakov
c3397fb550 a possibility to block set some runtime variables
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-12 13:37:33 +03:00
vectorsigma
17c96a3ae5 fixed postbuild for builme 2019-09-12 11:47:18 +02:00
Sergey Isakov
a355a5dad4 fix errors in MemoryAllocationLib
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-12 11:37:56 +03:00
vectorsigma
b6aadbd0db Test build option for buildme
'test build (no autogen, no boot files)' used for a quick test for changes in the source code. It skip boot files and Version.h is not updated
2019-09-12 09:24:47 +02:00
vectorsigma
f6fdf0197c Sync revision with sourceforge
Added gcc9 following Zenith432's commit https://sourceforge.net/p/cloverefiboot/code/5079/
2019-09-12 08:49:40 +02:00
Sergey Isakov
7f84770e50 a template for further work
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-12 09:03:34 +03:00
Sergey Isakov
ceb598f369 text formatting
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-12 06:28:21 +03:00
vectorsigma
7e42656fdd Delete cached files (Conf/.cache) 2019-09-11 15:03:19 +02:00
vectorsigma
f8ee287db0 Deleted ignored file from the cache 2019-09-11 13:22:17 +02:00
vectorsigma
622566285c Update e correction for buildme 2019-09-11 13:13:44 +02:00
Sergey Isakov
ff099df45a change build rules, tested on VS
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-11 12:11:51 +03:00
Sergey Isakov
69ee35e317 new GUIDs for dumping purpose
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-11 07:58:39 +03:00