Jief L
8199d9b75c
Remove unecessary cast. Some cleanups.
2020-02-22 00:22:30 +03:00
Sergey Isakov
9378884f6e
fix genconfig compilation
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-21 19:28:24 +03:00
Jief L
82aaf09e74
VC2017 compilation
2020-02-21 12:44:15 +03:00
Jief L
32332dd157
Fix to be able to get typeof of an array member.
2020-02-21 07:51:48 +03:00
Sergey Isakov
eb26300fd6
some more fixes
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-21 06:54:01 +03:00
Sergey Isakov
127b035930
fix GCC53 compilation
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-20 19:24:30 +03:00
Sergey Isakov
5b02b51273
more type casting fixes
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-20 17:28:24 +03:00
Sergey Isakov
f8098a8336
some adoptation to VS2017
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-20 15:53:27 +03:00
Sergey Isakov
eb938ce184
improved cbuild.bat
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-20 11:57:10 +03:00
Sergey Isakov
20237d492a
cleanup
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-18 21:49:54 +03:00
jief
41bcb0f618
Wrong type for downward loop.
2020-02-18 10:17:21 +03:00
jief
15c1c82a6d
Fix build of clover-genconfig
2020-02-18 08:58:56 +03:00
jief
7fa464fde0
Final switch to C++ compiler
2020-02-17 23:41:09 +03:00
Sergey Isakov
60b6eb5c33
use RT instead of RS
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-16 15:00:20 +03:00
Sergey Isakov
d836611308
cpp will be only compilation mode
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-16 13:53:12 +03:00
Sergey Isakov
d2ac4d7de9
merge master and c++_globals
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-15 17:29:59 +03:00
Sergey Isakov
82347b1e8d
use own implementation for CopyMem and SetMem instead of BIOS
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-14 07:15:10 +03:00
Sergey
27de9a9c9a
Merge pull request #75 from Florin9doi/issue_74
...
Repair network installer; Fixes #74
2020-01-22 15:22:21 +03:00
Sherlocks
d28f18009a
fix duplicate case value 'MacPro71'
2020-01-18 21:19:07 +09:00
Sherlocks
d5f6f30aaf
Update Platformdata.c
...
from macOS Catalina 10.15.3 beta 2
2020-01-18 21:01:23 +09:00
Florin9doi
8d011472bd
Repair network installer; Fixes #74
2020-01-16 19:07:27 +02:00
SergeySlice
3f3b85da08
apply dsdt fix changes to master
...
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2020-01-06 20:46:31 +03:00
SergeySlice
2e4cbf3268
define CometLake
...
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2020-01-05 09:29:06 +03:00
Sherlocks
8a5065daf0
correct PlatformFeature of MacPro7,1
2020-01-05 01:58:32 +09:00
Sherlocks
28eeef72fd
Update platformdata
...
from 10.15.3 beta1
2020-01-02 23:24:25 +09:00
SergeySlice
1a0fa4b577
fix unused variables caused by previous commit
...
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2020-01-02 09:34:06 +03:00
SergeySlice
8e5bfb6a61
manual set _UID for PNLS device
...
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2020-01-02 09:29:08 +03:00
SergeySlice
e168d7c74f
resolve conflicts
...
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2019-12-31 20:46:52 +03:00
SergeySlice
9345c5c5ee
text formatting
...
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2019-12-31 20:44:47 +03:00
Sergey Isakov
36e7d8340b
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2019-12-31 12:13:32 +03:00
Sergey Isakov
34b8946dc1
comments
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-12-31 12:13:16 +03:00
Florin9doi
9c2995d211
Revert MKextV1 patcher
2019-12-28 12:30:36 +02:00
Florin9doi
d74fc41df0
Clean-up MKext patcher a little
2019-12-27 19:42:56 +02:00
jief
9d99cb049d
Fix pointer of type 'void *' used in arithmetic (cast priority)
2019-12-27 18:21:10 +01:00
jief
a79acfcd24
Fix void* cast and enum cast (prepa C++)
2019-12-27 18:09:07 +01:00
Sergey
6f04c95981
Merge pull request #65 from Florin9doi/p4_mkextV1_patcher
...
MKextV1 (Tiger🐯 /Leopard🐆 ) patcher
2019-12-27 19:27:47 +03:00
jief
2d4a9a77c5
Fix CONST warnings (prepa C++)
2019-12-27 17:12:28 +01:00
jief
5e650e92cf
Add cast to return value of GetNvramVariable (prepa C++)
2019-12-27 16:10:42 +01:00
jief
9b01a6fe58
Add cast to return value of memory allocation functions (prepa c++)
2019-12-27 15:21:40 +01:00
jief
6dc3c956d6
Break declaration line (prepa c++)
2019-12-27 15:21:39 +01:00
Florin9doi
7b6f0afd5d
MKextV1 (Tiger/Leopard) patcher
...
Kext injection was not possible on Tiger/Leopard:
-KLDBootstrap::readBooterExtensions() doesn't exist to be patched
-Tiger gray discs were model specific and didn't had all the kexts in S/L/E to boot without cache
This patch append a kext file to the MKextV1 structure which is
loaded in memory by boot.efi, then repair the structure.
The existing kext isn't removed, so the injected kext needs to be a
higher version.
2019-12-27 15:24:30 +02:00
Sergey Isakov
89c8fd2a69
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2019-12-27 11:14:53 +03:00
Sergey Isakov
ba2c47ce54
exclude one more case of DSDT fix false
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-12-27 11:14:49 +03:00
Florin9doi
e90fa3274b
Try to fix the issues with 32GB modules; 3rd try
2019-12-24 00:03:26 +02:00
Sergey
d058be8f04
Merge pull request #62 from Florin9doi/p11_kexts_path
...
Fix kext injection for minor versions
2019-12-23 15:48:50 +03:00
Florin9doi
447bf80f73
Fix kext injection for minor versions
...
eg: oemPath/kexts/10.5.6.0 to oemPath/kexts/10.5.6
2019-12-23 13:38:02 +02:00
Florin9doi
da3f447b2e
Kernel patcher and FakeCPUID for Tiger and Leopard
2019-12-22 13:46:48 +02:00
Florin9doi
bd8d5466b0
Delete user memory (gRam) when a new config is selected
...
Allow more then 4 memory channels: MacPro7,1 has 6 channels, but 8
channels systems exists too
2019-12-21 12:34:38 +02:00
jief
2edf37ec84
Switch from CHAR8 to UINT8 to avoid signedness problems.
2019-12-20 16:33:11 +01:00
jief
926ecc8d9b
Update 2 typedef struct to make them compatible C and C++
2019-12-20 15:55:39 +01:00