2165 Commits

Author SHA1 Message Date
PMheart
ad16b282ea OcAppleKernelLib: Fixed ExtendBTFeatureFlags quirk on newer macOS versions, thx @lvs1974 2022-04-22 12:27:30 +02:00
PMheart
6d0e6f5205 Docs: Add notes about ForceAquantiaEthernet compatibility 2022-04-16 23:39:36 +02:00
PMheart
097e046050
OcAppleKernelLib: Add missing CONST 2022-04-14 23:14:27 +02:00
PMheart
1ca2a9553f
OcAppleKernelLib: Added CustomPciSerialDevice quirk (#331) 2022-04-14 12:58:37 +02:00
PMheart
6825e9a449
OcMainLib: Read and set serial PCD values from config (#330) 2022-04-04 23:43:11 +02:00
PMheart
95596f336a Docs: Fix SetApfsTrimTimeout description 2022-04-04 20:20:33 +02:00
PMheart
8f60fd29d8 OcAppleKernelLib: Fix mApfsTimeoutPatch 2022-04-04 19:11:17 +02:00
PMheart
155321ac91
OcAppleKernelLib: Cleanup (#328) 2022-04-02 12:11:44 +03:00
PMheart
fb28ce2cae OcAppleKernelLib: Prefer Shikumo's Aquantia patch 2022-03-21 13:53:18 +01:00
Andrey1970AppleLife
2e4f3bbb7c DataBase: Updated builtin firmware versions 2022-03-21 00:48:09 +03:00
PMheart
0605cdaa74 OcAppleKernelLib: Adopt Aquantia patch by Shikumo 2022-03-20 18:22:38 +01:00
PMheart
a4b0c47f13 OcAppleKernelLib: Fix version matching 2022-03-20 12:55:46 +01:00
vit9696
093dd76d59 OcCryptoLib: Trim spaces 2022-03-20 14:46:14 +03:00
PMheart
41882d980b OcAppleKernelLib: Added ForceAquantiaEthernet quirk 2022-03-20 12:32:47 +01:00
vit9696
719507f76e Utilities: Switch to python 3 b default
closes acidanthera/bugtracker#1980
2022-03-20 14:09:54 +03:00
PMheart
ae7198101c
OcDebugLibProtocol: Early log preservation support (#327) 2022-03-09 16:15:58 +01:00
vit9696
6fdd6dab9b OcCryptoLib: Avoid memory allocation but in RsaVerifySigDataFromData 2022-03-06 17:19:08 +03:00
vit9696
19cefe626c OcCryptoLib: Use caller-provided buffer for BigNumPowMod 2022-03-06 16:40:55 +03:00
vit9696
59da77c87f OcCryptoLib: Use caller-provided scratch in BigNumCalculateMontParams 2022-03-06 16:33:34 +03:00
vit9696
1da000afab OcCryptoLib: Use single buffer in BigNumCalculateMontParams 2022-03-06 16:10:22 +03:00
vit9696
d12c413664 OcCryptoLib: Use scratch buffer in BN words for simplicity 2022-03-06 15:58:32 +03:00
vit9696
d9e2c49b82 OcCryptoLib: Kill heap optimisation in BigNumCalculateMontParams
This optimisation once again gives us nothing on realistic values
due to roughly uniform distribution.
2022-03-06 15:48:26 +03:00
vit9696
8d9d387e38 OcCryptoLib: Drop BigNumMod memory allocation
BigNumCalculateMontParams previously did not check BigNumMod for memory
allocation failure anyway, which was thus harder to diagnose due to
the Montgomery Inverse of N still returning correctly.
2022-03-06 15:25:02 +03:00
vit9696
0f22e66dfb OcCryptoLib: Drop pool memory usage optimisation in BigNumMod
Currently BigNumMod does not allocate memory for A words with leading
zeroes. For us words are 8 bytes. When doing RSA computations with
proper keys 8 zero bytes are nearly impossible and 16 zero bytes are
completely impossible. Avoiding this optimisation does not change
library behaviour for nearly all inputs but provides simpler guarantees
about memory usage and simplifies testing.
2022-03-06 15:14:58 +03:00
vit9696
8551daca79 OcCryptoLib: Improve portability 2022-03-06 11:49:16 +03:00
PMheart
c91eebf3f4 Revert "OcAppleEventLib: Silence Coverity warning"
This reverts commit 7c695007ae70d53a21f12f5cd62452cad9a95894.
2022-03-03 12:58:46 +01:00
Savva Mitrofanov
5ef2e07f3b
OcDebugSerialSerial: Rename to OcDebugLibSerial
Fix build
2022-03-03 13:16:52 +06:00
a31user
4ece428757
OcHdaDevicesLib: Add missing CX8200 and CX20724 (#326), thanks @a31user 2022-03-02 21:55:04 +01:00
PMheart
4c995bb1ba
OcDebugLogLib: Split into OcLogAggregatorLib and OcDebugLibProtocol (#325) 2022-03-02 15:04:20 +03:00
PMheart
7c695007ae OcAppleEventLib: Silence Coverity warning 2022-03-02 12:33:45 +01:00
PMheart
89f40f6ea8 OcAppleKernelLib: Fix variable initialisation 2022-03-01 21:55:02 +01:00
MikeBeaton
5e2d766700 OcMainLib: typo 2022-03-01 10:28:38 +00:00
MikeBeaton
83c880b4db OpenCoreUefi: Fix code style space after cast 2022-02-27 13:25:33 +00:00
MikeBeaton
97c1f841f1 OpenLinuxBoot: Boot from standalone /boot partition 2022-02-27 09:00:41 +00:00
PMheart
5ec3ece4d7
OcDebugLogLib: Log filtering support (#322) 2022-02-25 23:37:05 +01:00
PMheart
43bd1d6bdd OcMainLib: Update kext blocker logs 2022-02-16 11:33:42 +01:00
Savva Mitrofanov
0c0aa62694
OcCryptoLib: Fixed rbx overriding in TryEnableAvx
cpuid call writes into eax,ebx,ecx,edx registers, so it overwrites rbx which causes undefined behavior in subsequent execution
2022-02-15 15:18:03 +06:00
vit9696
ad4414cf3b OcAppleKernelLib: Added global MSR 35h fix to ProvideCurrentCpuInfo
This allows `-cpu host` in KVM
2022-02-12 04:37:31 +03:00
PMheart
95b487a2a3
OcAppleKernelLib: Kext block strategy for prelinked (#320) 2022-02-11 10:54:30 +01:00
vit9696
cea9f03365 OcMainLib: Fixed selecting SecureBootModel on hypervisors
Should be `x86legacy` as otherwise macOS 11 will fail to boot
2022-02-11 02:20:06 +03:00
PMheart
9e76d91905 OcAppleKernelLib: Disable trim using new method
closes https://github.com/acidanthera/bugtracker/issues/1950
2022-02-10 20:02:50 +01:00
PMheart
77aa7e29ce OcXmlLib: Add XmlUnescapeString API 2022-02-10 15:28:46 +01:00
MikeBeaton
f3004e2e7b OcBootManagementLib: Update comment 2022-02-09 20:51:14 +00:00
MikeBeaton
d7fdea3173 OcBootManagementLib: Auto-detect macOS Installer text label for use when .disk_label file cannot be displayed
Fixes https://github.com/acidanthera/bugtracker/issues/1939
2022-02-09 10:41:52 +00:00
vit9696
07f0091f95 OcBootManagementLib: Improved robustness in PE image file parsing 2022-02-04 03:53:54 +03:00
Andrey1970AppleLife
9fe6ecb5d8 DataBase: Updated builtin firmware versions 2022-01-27 00:54:27 +03:00
Andrey1970AppleLife
d246944bb0 DataBase: Updated IM20x 2022-01-22 21:35:39 +03:00
MikeBeaton
43137cc277 OpenLinuxBoot: Updates:
- Add support for .contentFlavour and .contentDetails
- Add LINUX_BOOT_ADD_RW flag
- Add flags+= and flags-=
- Fixed entry name disambiguation when LINUX_BOOT_USE_LATEST is unset
2022-01-21 15:54:42 +00:00
vit9696
d51442406c Fixed AppleInternal CSR bit being set with ProvideCustomSlide enabled
Only happened with SIP disabled.
2022-01-16 11:13:27 +03:00
MikeBeaton
67713c99dc AudioDxe: Allow gain to track OS volume on old macOS without SystemAudioVolumeDB 2022-01-14 17:08:22 +00:00