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
jief
2b41073035
Jief debug code
2020-03-05 10:38:15 +03:00
jief
75f33a759b
NULL check added.
2020-03-05 10:37:50 +03:00
jief
6c6f440b99
Default ctor to be sure Item is init to 0
2020-03-05 10:37:15 +03:00
jief
640da74dd2
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2020-03-05 09:44:12 +03:00
jief
f8bf956a39
Check pointer before using it.
2020-03-05 09:42:50 +03:00
SergeySlice
69a65db69b
some security checks
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-03-05 06:37:21 +03:00
jief
c6a59f85f9
Caught few access to address 0
2020-03-05 00:54:59 +03:00
jief
2a106ef602
typo.
2020-03-04 23:45:36 +03:00
jief
5ddb6c1d79
Handle NULL in ctor.
2020-03-04 23:39:48 +03:00
jief
d549733729
A bit of debug code to keep.
2020-03-04 22:19:44 +03:00
Jief L
bd9458b270
Add default ctor
2020-03-04 19:34:05 +03:00
Jief L
0812cdb6d5
VS2017 warning
2020-03-04 19:33:30 +03:00
jief
6417348844
Fix bad object allocation, remove some REFIT_MENU_SCREEN ctors.
2020-03-04 18:27:41 +03:00
Jief L
2fca0d97a5
VS2017 C++ globals and unit tests
2020-03-04 16:37:39 +03:00
Sergey Isakov
11bf50dc3a
eliminate VS2017 warnings
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-04 12:50:43 +03:00
jief
1ee664b022
Put back CONST to suppress warnings
2020-03-04 09:33:20 +03:00
jief
dbb5187ae5
Line only half commented out.
2020-03-04 09:32:44 +03:00
jief
78f899a927
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2020-03-04 09:22:39 +03:00
jief
4bec5cab80
Use new instead of Allocate for objects.
2020-03-04 09:21:43 +03:00
Sergey Isakov
b9b89cc46a
change debugging codes
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-04 09:20:37 +03:00
Sergey Isakov
ab6d11f473
fix InputDialog with style function
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-04 06:40:49 +03:00
Sergey Isakov
4e63e897cb
auto merge
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-03 23:55:37 +03:00
Sergey Isakov
c1f6e8137a
refactoring menu entries
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-03 23:44:07 +03:00
jief
fd327e2b1f
Fix unresolved external.
2020-03-03 23:18:21 +03:00
jief
fc2f226e8d
Resolve conflicts. Compile, but unresolved external.
2020-03-03 17:43:23 +03:00
Sergey Isakov
b3e48e0547
merge conflicts
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-03 17:21:48 +03:00
Sergey Isakov
8ff35c6295
improved XPoitner and XImage, menu advance
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-03 17:17:39 +03:00
jief
99c79d0f94
Using pointer-to-member.
2020-03-03 16:52:23 +03:00
jief
ab391cd1cc
2 details that didn't compile.
2020-03-03 14:41:00 +03:00
Sergey Isakov
24e779c6f8
refactoring menu
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-03 12:45:07 +03:00
jief
416fb4aa77
Use ptr for IN parameter. Use ref in method body.
2020-03-03 00:04:09 +03:00
Sergey Isakov
2021c9b51d
use &Screen instead of *Screen
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-02 22:54:19 +03:00
Sergey Isakov
3b49178480
merge conflicts
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-02 22:02:28 +03:00
Sergey Isakov
c0df0f8787
some update for using pointer and scroll
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-02 22:00:01 +03:00
jief
5b1c65486c
XPointer revisited.
2020-03-02 18:43:54 +03:00
Sergey Isakov
dcdd8cc091
avoid memset generation
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-02 16:46:30 +03:00
Sergey Isakov
1acd6a43b4
first implementation of XPointer class
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-02 15:00:24 +03:00
vectorsigma72
e8a29b1a29
Clover.app v1.16 with clover-genconfig ability
...
The internal parser is retro compatible with old Clover revisions since r3250. This is possible because a check for the existence of any variable inside SETTING_DATA structure is performed before the call. Variables are all accessed using the label property of the Mirror class, so as a string.
2020-03-01 15:16:28 +01:00
Sergey Isakov
a260cbad92
some remarks
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-01 11:46:12 +03:00
jief
2de3b84957
Moved DriveImage and BadgeImage down the hierarchy because only loader
...
use them.
2020-02-29 15:56:36 +03:00
jief
dec25e954e
Start refactoring includes. Make gen-config compile.
2020-02-29 10:30:21 +03:00
Sergey Isakov
28fd5f1353
operator new works with DevProps
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-29 08:19:23 +03:00
jief
e05286e4a4
Big big refactoring of REFIT_MENU structs. They are now objects.
...
There is some cleaning to do
in the hierarchy of REFIT_ABSTRACT_MENU_ENTRY.
2020-02-28 23:28:33 +03:00
Sergey Isakov
5709ec8c2c
quirky but working
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-28 22:41:03 +03:00
Sergey Isakov
bdc977d14f
make genconfig happy
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-28 21:12:57 +03:00
Sergey Isakov
b6f2478cff
create XImage from svg
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-28 17:08:40 +03:00
Sergey Isakov
a2534ee4f8
more strict type conversion in cpp
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-28 15:09:32 +03:00
Sergey Isakov
7999d10b9c
update lodepng to version 20200219
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-28 14:26:24 +03:00
jief
bddbdbff13
rEFIt_UEFI/Platform/StateGenerator.cpp
2020-02-28 13:21:33 +03:00
Sergey Isakov
3fdc507aff
fix bootsector compilation in VS
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-28 11:14:12 +03:00
asava
2479b2a499
Allocate DEV_PROPERTY nodes with AllocateZeroPool
2020-02-27 21:54:26 +02:00
jief
c77802d200
Refactor of "Volumes" global var as an XObjArray.
2020-02-27 17:34:29 +03:00
Sergey Isakov
4b4d1bb9d5
implement smooth image scaling
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-27 17:02:43 +03:00
Sergey Isakov
5c73df9feb
use setEmpty in XArray
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-27 16:11:03 +03:00
Sergey Isakov
6c6fe90842
use isEmpty and setEmpty
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-27 15:32:14 +03:00
Sergey Isakov
448ee95681
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2020-02-27 15:06:27 +03:00
Sergey Isakov
cf70d0a267
cant use enum in packed structure
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-27 15:06:01 +03:00
jief
08fbee9846
Avoid using explicit type.
2020-02-27 14:50:29 +03:00
jief
5fc9b805af
empty cannot be define for a const object, because empty modifed itself.
2020-02-27 14:48:47 +03:00
Sergey Isakov
4be169f058
full lodecpp features
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-27 12:49:02 +03:00
Sergey Isakov
d1043e2673
modify XArray and lodepng to compile as cpp
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-27 12:17:50 +03:00
Sergey Isakov
8dbd938bf3
replace std::vector with XArray
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-27 08:20:15 +03:00
Sergey Isakov
02108d8f48
fix mistake with x instead of y
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-26 23:57:58 +03:00
Sergey Isakov
297b3601bf
current changes to ximage
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-26 22:44:16 +03:00
asava
78e3bece9f
Correct mistake in devtree memory allocation
2020-02-26 21:32:50 +02:00
asava
80d1b0b9da
correct path of Version.h
2020-02-26 19:19:28 +02:00
Sergey Isakov
d6885d3f2a
more image functions
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-26 16:59:10 +03:00
Sergey Isakov
f4457dc741
few polish of png functions
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-26 09:13:03 +03:00
Sergey Isakov
1946bf5838
implement PNG coding in ximage
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-26 09:05:14 +03:00
jief
8727ae6f54
Refactor of XImage to use XArray and create accessor for pixel.
2020-02-26 00:28:36 +03:00
jief
9ac41a3c9d
Added const in XImage
2020-02-25 23:57:23 +03:00
Sergey Isakov
a0b40c06dc
created XImage::Compose
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-25 23:19:39 +03:00
Sergey Isakov
282bc531d7
fix GCC53 compatibility
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-25 20:42:06 +03:00
Sergey Isakov
a4952d32de
preliminary introduce image class
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-25 16:55:39 +03:00
Sergey Isakov
0155a4bf8a
some VS adoptations
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-25 13:29:33 +03:00
jief
2775f5a2d4
refit.inf update.
...
Removed an inline that failed compilation with clang.
2020-02-24 22:02:32 +03:00
jief
ed8f05d367
Commit the real files instead of symlinks.
2020-02-24 17:51:58 +03:00
jief
eb5071dede
Remove symlinks.
2020-02-24 17:51:02 +03:00
jief
40dbcf08a9
UTF8 conversion for XStringW
2020-02-24 16:07:24 +03:00
jief
71e952401a
Import XStringWArray in Clover.
...
Added unit tests
2020-02-23 23:23:31 +03:00
jief
56ca2c3e67
Import XArray and XObjArray.
...
Create a basic unit test of C++ classes.
2020-02-23 14:21:28 +03:00
jief
0d110b4b72
JIEF_DEBUG instead of CLOVER_DEBUG
2020-02-23 14:20:22 +03:00
Sergey Isakov
160b9231d7
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2020-02-23 08:53:53 +03:00
Sergey Isakov
c35f9aa052
fix signess, optimize codes
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-23 08:53:21 +03:00
Sherlocks
e4c5d4e8ff
Update GS layout for LAPIC patch on 10.15.4 by vit9696
2020-02-23 12:33:39 +09:00
Sergey Isakov
3933f80eb2
correct sorting
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-22 17:07:46 +03:00
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
Sergey Isakov
371e80725e
fix cbuild.bat and Version file location
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-21 15:37:50 +03:00
Jief L
82aaf09e74
VC2017 compilation
2020-02-21 12:44:15 +03:00
Jief L
c6499afa83
Fix AddListElement
...
Remove non-const casts
2020-02-21 08:29:22 +03:00
Jief L
241a55ce69
Fixing some CONST.
2020-02-21 08:22:09 +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
8cb786d57e
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2020-02-20 18:49:24 +03:00
Sergey Isakov
57e21d5a60
replace memset with SetMem because of compiler
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-20 18:49:18 +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
db08c98366
speedup png by using quicksort
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-19 20:36:26 +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
c59da4d55a
Debug message to enable real time debugging.
2020-02-18 09:03:14 +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
jief
bfc77330a8
Activate Debug on Console (temporary)
2020-02-17 12:55:09 +03:00
jief
5a63f45f7d
Switch to new mtoc
2020-02-17 12:54:54 +03:00
jief
3405798581
Keep only on refit.inf
2020-02-17 12:49:43 +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
86cb372de2
add missing files
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-15 17:51:18 +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
jief
718c915f1f
USe .VolumeLabel.txt for bottom right message.
2020-01-15 10:58:18 +03: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
vectorsigma72
12d559aef6
Log audio devices
...
Parsing the boot-log will help Clover.app finding startup audio settings.
2019-12-28 23:34:11 +01: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
jief
ea2408cada
add CONST to parameter fmt in PoolPrint and _PoolCatPrint
2019-12-27 15:21:38 +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
7a0295e366
Move clover boot volume info to bottom right corner.
2019-12-20 18:18:55 +01:00
jief
2edf37ec84
Switch from CHAR8 to UINT8 to avoid signedness problems.
2019-12-20 16:33:11 +01:00
jief
91793ca5ba
Remove unused includes for C++
2019-12-20 16:03:49 +01:00
jief
926ecc8d9b
Update 2 typedef struct to make them compatible C and C++
2019-12-20 15:55:39 +01:00
jief
38204b0b4c
Rename 'class' parameter because it's reserved in C++
2019-12-20 15:54:11 +01:00
jief
28886d3b6f
Fix prototype.
2019-12-20 15:52:56 +01:00
Sergey Isakov
553c3c338d
change string to char
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-12-20 15:35:29 +03:00
Sergey Isakov
ad0eb1988d
dont show Clover boot volume if it commented out
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-12-20 14:47:02 +03:00
SergeySlice
43e6e3b3bb
dont produce _SUN for graphics
...
don attach CsmVideo to Intel
exclude EFIVersion from table 11
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2019-12-20 08:49:28 +03:00
SergeySlice
070db047fb
reduce stack usage by allocating pool
...
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2019-12-19 19:51:21 +03:00
Sergey Isakov
f3c01aa9be
check more Scope false search
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-12-19 14:14:54 +03:00
jief666
83205886bf
Merge pull request #59 from jief666/KextLoadingVersionMode
...
Put back KEXT_INJECT_DEBUG to 0
2019-12-19 09:49:16 +01:00
jief
24054e93b2
Put back KEXT_INJECT_DEBUG to 0
...
Restore Eric's modification to check OSBundleRequired
2019-12-19 09:48:27 +01:00
jief666
af35dcccbb
Merge pull request #57 from jief666/BootAndVolumeInfo
...
Display Cover boot volume, Use .VolumeLabel.txt
2019-12-18 23:45:55 +01:00
SergeySlice
49380a97ec
adopt to new DeviceTree declarstions
...
Signed-off-by: SergeySlice <isakov-sl@bk.ru>
2019-12-18 21:41:07 +03:00
SergeySlice
56ec54a919
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2019-12-18 20:36:20 +03:00
SergeySlice
0979cd808a
use unified DeviceTreeLib
...
Signed-off-by: Сергей Исаков <sergey@Sergejs-iMac.local>
2019-12-18 20:34:26 +03:00
jief666
abc511efaa
Merge pull request #55 from jief666/KextLoadingVersionMode
...
Rename '10.x' folder
2019-12-17 14:18:36 +01:00
jief
35eedf476a
Display CLover boot volume
...
Use .VolumeLabel.txt to improve menu item label
2019-12-16 15:28:22 +01:00
jief
ab6e5c2238
Resolve conflict.
2019-12-16 15:22:15 +01:00
Sherlocks
b196220366
Update platformdata
...
from official 10.15.2
2019-12-14 17:17:35 +09:00
Sergey Isakov
f3797c128c
exclude unused variable
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-12-13 15:55:40 +03:00
jief
7ef7e4055d
Remove unused var
...
Rename '10.x' folder just '10' to be more consistent.
2019-12-13 12:56:57 +01:00
Sergey
9fccb22efa
Merge pull request #52 from jief666/KextLoadingVersionMode
...
Kext loading new structure
2019-12-13 14:28:17 +03:00
Sergey
e1a5a018b6
Merge pull request #51 from jief666/OEMPath
...
Oem path
2019-12-13 14:20:55 +03:00
Sherlocks
489f4c5a44
Added NoRomInfo key
...
to disable rom info in hardware overview in system profiler
2019-12-12 23:51:55 +09:00
jief
d1abb9167c
Preserve backward compatibility
2019-12-11 14:22:21 +01:00
Sergey Isakov
1615a158ec
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2019-12-11 16:14:23 +03:00
Sergey Isakov
3b4ce81052
fix device path length
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-12-11 16:13:31 +03:00
jief
ffb691c078
Add a 10.x folder
2019-12-11 13:52:26 +01:00
jief
2eeb066529
rename function to SetOEMPathIfExists
2019-12-11 12:42:40 +01:00
jief
43dc4fd707
Add OEM path possibilities.
2019-12-11 12:39:06 +01:00
jief
0946f0d1e8
Load kext depending on version and boot mode.
2019-12-09 11:22:15 +01:00
jief
537ed29157
Missing EFIAPI
2019-12-08 15:52:00 +01:00
Sergey Isakov
90148880ac
prevent wrong patching Field
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-12-06 12:21:09 +03:00
SergeySlice
85906d7816
dont check SB twice, advance index in cycle
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2019-12-05 08:15:19 +03:00
SergeySlice
1f01128be7
fix a bug with Fix DSDT occured with scope devices
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2019-12-04 20:23:10 +03:00
Sergey Isakov
6caf35b406
create library for HDA operations
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-11-27 14:16:02 +03:00
Sergey Isakov
9b79515463
some hardware comments
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-11-26 17:25:00 +03:00
Sergey
4afea5b83f
Merge pull request #41 from Florin9doi/p6
...
Share a single list of audio devices between Clover and audioDxe
2019-11-26 16:59:07 +03:00
Florin9doi
6bb4afb2f0
Use ExtendedSize when injecting memory modules from config
2019-11-23 17:33:30 +02:00
Florin9doi
fce400bc14
Share a single list of audio devices between Clover and audioDxe
2019-11-23 16:17:31 +02:00
Sherlocks
32c2f6e103
Clean up Reset NVRAM
2019-11-22 22:19:43 +09:00
Sergey Isakov
6852bd3a50
dont restart automatically after F11 it can be done manually
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-11-21 14:46:21 +03:00
Sherlocks
3c176ec6ba
Added MacBookPro16,1
2019-11-17 22:30:08 +09:00
SergeySlice
502d0fa3e7
more information about graphics
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2019-11-16 11:21:38 +03:00
SergeySlice
66430bb85b
new information about graphics
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2019-11-16 09:18:24 +03:00
Sergey
c5bf8f941c
Merge pull request #31 from Florin9doi/p5
...
Nvidia device names
2019-11-15 19:21:06 +03:00
Sergey Isakov
27c22a82e3
add a possibility to set custom SmbiosVersion
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-11-15 15:50:12 +03:00
Sergey Isakov
6221b7560f
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2019-11-15 15:17:44 +03:00
Sergey Isakov
b816917205
implemented setting for MemoryRank,
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-11-15 15:17:19 +03:00
Sherlocks
59f0e867a9
correct efi version
2019-11-14 23:25:16 +09:00
Sherlocks
04ff96bfb6
Update bios and efi version
...
take from 10.15.2 beta2
2019-11-14 23:21:05 +09:00
Florin9doi
3c5f92fd08
Add GK208 and TU106; rename a few cards
...
reference: https://pci-ids.ucw.cz/read/PC/10de/0e0c
2019-11-11 21:54:53 +02:00
Florin9doi
00626a97e8
Print Nvidia Volta/Turing names in preboot.log
2019-11-11 21:54:53 +02:00
Florin9doi
652b89254f
Update Nvidia IDs
...
generated with:
```
#!/bin/bash
# curl -O https://pci-ids.ucw.cz/v2.2/pci.ids
PCI_IDS_FILE=pci.ids
NVIDIA_START=$(grep -n "^10de NVIDIA Corporation" ${PCI_IDS_FILE} | cut -d : -f 1)
NVIDIA_START=$((NVIDIA_START+1))
NVIDIA_END=$(grep -n "^10df Emulex Corporation" ${PCI_IDS_FILE} | cut -d : -f 1)
NVIDIA_END=$((NVIDIA_END-1))
sed -n ${NVIDIA_START}','${NVIDIA_END}'p' ${PCI_IDS_FILE} \
| perl -nle 'print if /^\t[0-9a-f]{4} [0-9A-Z]+ \[.*\]$/' \
| perl -pe 's/^\t([0-9a-f]{4}) ([0-9A-Z]+) \[(.*)\]$/ { 0x10DE\U\1\E, "\3" }, \/\/ \2/g'
```
2019-11-11 21:54:52 +02:00
Sergey
a46979451d
show clover revision in system profiler
...
Signed-off-by: Sergey <sergey@iMac-Sergej.local>
2019-11-08 08:35:59 +03:00
Sherlocks
d113f6bf52
Update bios and efi version
...
take from 10.15.1
2019-11-02 00:02:06 +09:00
Sergey Isakov
ced0ba8e2b
add apple varibles to be erased
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-10-22 15:00:07 +03:00
Sergey Isakov
d004764577
dont account extra bit in nvidia family
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-10-18 16:31:50 +03:00
Sergey Isakov
9d16f47ca4
round around 0.5
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-10-17 13:44:30 +03:00
Sergey Isakov
902c497ab0
fix windows compilation, fix setmem usage
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-10-16 15:38:41 +03:00
Sergey Isakov
da51723696
avoid memory leaks
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-10-16 14:25:52 +03:00
Sherlocks
652e8bbe0b
Update SMC version, FirmwareFeatures/FirmwareFeaturesMask
2019-10-12 20:12:59 +09:00
Sherlocks
09574d3164
update comet lake igpu info
2019-10-12 09:56:20 +09:00
Sergey Isakov
5ee0507aca
Fix wrong logic
2019-10-10 22:04:12 +03:00
Sergey Isakov
60bde0db71
correct length
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-10-09 16:48:16 +03:00
Sergey Isakov
35f1674611
compare with network-root
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-10-09 07:48:53 +03:00
Sergey Isakov
d139fa4536
default bits for MaskFind will be 0xff
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-10-09 07:12:05 +03:00
Sergey Isakov
be7ab87dca
implemented patch with mask for kext, kernel and booter
2019-10-08 23:57:18 +03:00
Sergey Isakov
6a56c2951b
refactoring, renaming, cleanup
2019-10-04 23:32:02 +03:00
Sergey Isakov
2d1649e265
correction to kext injection by Eric, ticket 603
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-30 11:29:31 +03:00
Sergey Isakov
6ff1fb6cda
update platformdata
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-24 22:06:46 +03:00
Sergey Isakov
d49c68ae80
check for zero size allocation
2019-09-19 22:14:57 +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
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
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
59e0a2856a
correct tools_def by Zentih432
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-12 22:40:41 +03:00
vectorsigma
58acdb5ef7
Fixed uninitialized variable
2019-09-12 14:44:44 +02: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
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
Sergey Isakov
a355a5dad4
fix errors in MemoryAllocationLib
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-12 11:37:56 +03: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
f95941f24e
sync with sf.net
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-08 21:52:29 +03:00
Sergey Isakov
22934bbecf
include headers into inf files
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-05 07:30:46 +03:00
Sergey Isakov
7a0d3948dc
apply revision 5064 from sf
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-04 13:53:00 +03:00
Sergey Isakov
15dada20e6
sync sources wuth new edk2
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-04 13:44:38 +03:00
Sergey Isakov
081d1b5210
added absent files and fixed dependencies
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-03 15:19:03 +03:00
Sergey Isakov
7c0aa811ec
initial commit Clover sources 5061 and modules from EDK2 latest with legacy codes from UDK2018
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-03 12:58:42 +03:00