Commit Graph

107 Commits

Author SHA1 Message Date
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
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
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
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