4054 Commits

Author SHA1 Message Date
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
823e98fe68 Utilities: Fix TestPeCoff compilation 2022-03-06 14:14:45 +03:00
vit9696
8551daca79 OcCryptoLib: Improve portability 2022-03-06 11:49:16 +03:00
vit9696
971df72a4b Patches: Fix previous patch update 2022-03-05 19:58:26 +03:00
vit9696
578728c317 Docs: Sync changelog 2022-03-05 19:50:09 +03:00
PMheart
56697e1fd0 Patches: Adapt ShellPkg patches for edk2-stable202202 2022-03-05 19:43:25 +03:00
PMheart
3984b403b3 Patches: Adapt AtaAtapiPassThru patches for edk2-stable202202 #2 2022-03-05 19:43:25 +03:00
PMheart
95f53031f8 Patches: Adapt AtaAtapiPassThru patches for edk2-stable202202 2022-03-05 19:43:25 +03:00
PMheart
54479cfa0b Build: Sync with audk-stable-202202 2022-03-05 19:43:25 +03:00
PMheart
c91eebf3f4 Revert "OcAppleEventLib: Silence Coverity warning"
This reverts commit 7c695007ae70d53a21f12f5cd62452cad9a95894.
2022-03-03 12:58:46 +01:00
Savva Mitrofanov
ef78031809
Build: Fix OcDebugLogLib library class 2022-03-03 14:07:29 +06:00
Savva Mitrofanov
63d26889dc
Build: Fix build. Rename OcDebugSerialLib to OcDebugLibSerial in dsc 2022-03-03 13:25:19 +06: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
7fcc5cbf44 Docs: Sync from https://github.com/acidanthera/OpenCorePkg/pull/325 2022-03-02 13:17:54 +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
666c710ad6 Docs: Improve OpenLinuxBoot autoopts documentation 2022-03-01 19:04:41 +00:00
MikeBeaton
5e2d766700 OcMainLib: typo 2022-03-01 10:28:38 +00:00
Andrey1970AppleLife
32250a38bf Fixed INFO (prev-lang:kbd) to neutral location 2022-02-27 19:31:03 +03:00
rkarsnk
9d7458cacc
Add comment about prev-lang:kbd (#1960) (#324) 2022-02-27 18:19:16 +03: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
bab4ef84f5 Docs: Sync changes with https://github.com/acidanthera/OpenCorePkg/pull/322 2022-02-25 23:39:06 +01:00
PMheart
5ec3ece4d7
OcDebugLogLib: Log filtering support (#322) 2022-02-25 23:37:05 +01:00
PMheart
4c400769d4
Build: Temporarily switch to Windows 2019 2022-02-24 14:53:10 +01:00
PMheart
ae04256ac5 ocvalidate: Corrected max file path length 2022-02-16 21:06:01 +01:00
PMheart
d4f90bdebf ocvalidate: More prompts for PickerVariant length 2022-02-16 20:17:15 +01:00
Andrey1970AppleLife
5f044d498c DataBase: Updated MaximumOSVersion 2022-02-16 17:57:24 +03:00
PMheart
43bd1d6bdd OcMainLib: Update kext blocker logs 2022-02-16 11:33:42 +01:00
PMheart
c98f0a1a64 ocvalidate: Fix typo in ValidateMisc 2022-02-16 11:29:00 +01:00
PMheart
d86d5fec96 Docs: Correct early serial output patch 2022-02-16 11:18:18 +01:00
Savva Mitrofanov
277ab227b9
Docs: Add information about fixed potentional memory corruption in AVX to Changelog 2022-02-15 15:42:07 +06: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
a22dff1ba4 Debug: Drop legacy CLANGDWARF hacks 2022-02-13 09:00:02 +03:00
vit9696
b8d253473b Build: Enable -ftrivial-auto-var-init=pattern in CLANGDWARF 2022-02-13 09:00:02 +03:00
PMheart
fe8876b4c2 Docs: Fix early serial output patch 2022-02-12 22:16:22 +01: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
Andrey1970AppleLife
9d7bb640be Docs: Build pdf 2022-02-12 00:07:29 +03:00
Andrey1970AppleLife
d2eccb4eab Update Configuration.tex 2022-02-11 23:59:18 +03:00
vit9696
a7976e2cf7 Docs: Fix typo 2022-02-11 23:25:18 +03:00
vit9696
c4f9776359 Docs: Enable early serial output on RELEASE kernel with a patch 2022-02-11 21:21:04 +03:00
PMheart
433253c6fa Docs: Update changelog and pdf from https://github.com/acidanthera/OpenCorePkg/pull/320 2022-02-11 10:59:43 +01: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
vit9696
b80c8ec3ba Added script to build qemu recovery images to macrecovery 2022-02-10 20:39:40 +03:00