2139 Commits

Author SHA1 Message Date
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
vit9696
3573bf0505 OcMainLib: Restrict DmgLoading check to all values 2022-01-12 07:14:01 +03:00
MikeBeaton
4c26a2a465 AudioDxe: Switch from % volume to dB gain 2022-01-10 11:51:34 +00:00
MikeBeaton
1a1e48806b AudioDxe: Allow NUM_GPIOS up to 8; log GPIO counts 2022-01-05 08:24:47 +00:00
MikeBeaton
027a2ef158 AudioDxe: Use PinCaps for outputs, switch to general purpose VREF and GPIO enable 2022-01-04 07:27:43 +00:00
vit9696
ee28077196 OcAppleEventLib: Allow tuning pointer poll list and period
closes #312
closes acidanthera/bugtracker#1899
2022-01-04 03:01:20 +03:00
MikeBeaton
4f214ab1e5 AudioDxe:
- Fix broken in-OS sound in Windows after AudioDxe with some firmware (closes https://github.com/acidanthera/bugtracker/issues/1909)
 - Add Pcds for some AudioDxe code
 - Other minor updates
OcDebugLogLib:
 - Add DebugPrintDevicePathForHandle
2022-01-02 08:53:17 +00:00
MikeBeaton
339cfceaea OcAudioLib: InternalOcAudioStopPlayBack -> InternalOcAudioStopPlayback 2021-12-27 09:10:50 +00:00
MikhailKrichanov
910343ae46
Analysis: Patches to several Svace warnings. (#308) 2021-12-21 19:57:48 +03:00
mikebeaton
8cc59205d4 OcDeviceMiscLib: Access PCI class code in EDK II style everywhere 2021-12-19 10:56:56 +00:00
mikebeaton
706cb4e7c6 AudioDxe: Updates
- DisconnectHda
 - AudioOutRange
 - Cirrus Logic (Apple) and QEMU fixes
 - Other fixes
2021-12-19 10:56:51 +00:00
Andrey1970AppleLife
8f85ea919d DataBase: Updated builtin firmware versions 2021-12-15 21:47:34 +03:00
vit9696
b66954ed95 OcAppleKernelLib: Added ProvideCurrentCpuInfo support for ADL 2021-12-10 11:51:59 +03:00
vit9696
7a07d4308f Build: Rename null debug lib and fix their compilation 2021-12-09 23:04:47 +03:00
MikhailKrichanov
c31c991a5f
EntryPoints: Preserve non-volatile ebx/rbx registers (#305)
Fixes broken builds for GCC5 and CLANG38 with RDTSC_CANARY_ENABLE
2021-12-07 16:27:53 +03:00
Alex James
c466fbc0f0
OcMemoryLib: Avoid rebuilding attributes when MAT is empty (#304)
Some firmware implementations may provide an empty Memory Attributes
Table (NumberOfEntries is zero). Avoid calling OcUpdateDescriptors in
this case, as it will lead to division by zero.

This resolves boot failures due to #DE on XPS 15 9560 when Secure Boot
is enabled.
2021-12-05 12:37:11 +03:00
mikebeaton
8069ce4f9d OcBootManagementLib: Extend ProtectUefiServices quirk to restore hooks overwritten by GRUB2 shim as required 2021-11-28 19:44:41 +00:00
MikeBeaton
9d5fc5f4f7 OcCpuLib: Add EnableVmx UEFI quirk 2021-11-28 19:38:28 +00:00
vit9696
e762311371 OcAcpiLib: Changed FadtEnableReset to avoid keyboard controller reset 2021-11-28 17:30:15 +03:00
John Davis
bf5043a862
OcDriverConnectionLib: Add ReconnectGraphicsOnConnect option (#301) 2021-11-27 14:46:22 +03:00
vit9696
a2fcc8d7eb OcBootManagementLib: Fix previous commit 2021-11-27 04:09:07 +03:00
vit9696
9e0770f830 OcBootManagementLib: Fixed handling DPs with lunits in ScanPolicy 2021-11-25 09:35:33 +03:00
Marvin Häuser
3db6e1b996 Fix includes to work nicer with IDEs 2021-11-23 10:55:26 +01:00
dakanji
2448a04fe8
Docs: Fix Article Usage and Misc Informalities (#300) 2021-11-20 17:41:18 +03:00
mikebeaton
a79900c637 OpenCoreUefi: Clarify in err msgs that OC is bootstrapping secure boot NVRAM values
Makes it easier for end users to realise that e.g. invalid NVRAM contents can cause failures here
2021-11-16 15:17:08 +00:00
vit9696
4073b8afae OcCpuLib: Fix processor generation 2021-11-11 14:23:15 +03:00
vit9696
13af8ec14a OcCpuLib: Fixed Alder Lake SMBIOS CPU model information 2021-11-11 01:03:12 +03:00