2114 Commits

Author SHA1 Message Date
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
vit9696
6cef37f0be OcConsoleLib: Fixed ProvideConsoleGop not disabling blit-only modes
This resolves verbose output issues on ASUS Z690F.
2021-11-11 00:48:54 +03:00
vit9696
0701d15502 OcMainLib: Implement automatic scaling factor detection
closes acidanthera/bugtracker#1717
2021-11-04 18:24:39 +03:00
vit9696
a41d48069a Build: Drop hidden .contentFlavour file from repo, use printf instead 2021-11-04 17:51:46 +03:00
vit9696
20721dc99f Build: Fix minor typos, thx Slice&Co 2021-11-03 14:16:38 +03:00
Andrey1970AppleLife
02f0a50001 DataBase: Updated builtin firmware versions 2021-10-30 21:41:10 +03:00
Andrey1970AppleLife
e9f8973bc0 DataBase: Updated builtin firmware versions 2021-10-26 19:52:31 +03:00
Andrey1970AppleLife
d52e8ba82d DataBase: Fixed MBP114, MBP115 support Monterey 2021-10-26 11:37:59 +03:00
MikeBeaton
a495198f05 OcFlexArrayLib: Add optional TRACE debugging 2021-10-16 17:37:45 +01:00
vit9696
5b42335e5c OcDeviceMiscLib: Fix MSVC warning 2021-10-12 03:11:30 +03:00
vit9696
08c0020eb3 OcDeviceMiscLib: Fix specifying low size not reducing BARs to min val
E.g. specifying 0 (1MB) should reduce 8 GB BAR to 256 MB if 256 MB
BAR is the smallest supported BAR size.
2021-10-12 02:15:37 +03:00
vit9696
e70048cc76 OcDeviceMiscLib: Implement PCI RBAR configuration support 2021-10-11 04:53:03 +03:00
vit9696
c43356cd7f OcDeviceMiscLib: Add header with PCI registers 2021-10-11 00:23:47 +03:00
MikeBeaton
5b89dd5b70 OcBootManagementLib: Set IsExternal from FileSystem->External in custom entries; required for BootEntryProtocol. 2021-10-08 10:25:23 +01:00
MikeBeaton
949071ebfa OpenLinuxBoot: Support ostree layout; improve documentation 2021-10-08 00:47:00 +01:00
MikeBeaton
d1f60d31ee FlexArray: Fix behaviour at zero-length after discard 2021-10-05 08:42:05 +01:00
vit9696
19aea59da5 OcMainLib: Fixed opencore-version not being added to NVRAM variables 2021-10-03 16:09:14 +03:00
vit9696
355cf005a7 OcMacInfoLib: Fix SB model case 2021-10-03 10:09:25 +03:00
vit9696
7583455f11 OcAppleSecureBootLib: Changed Default Apple SB model to match SMBIOS
This resolves the general set of compatibility issues with macOS 12
software updater, which requires T2 mac models to have T2 SB models.
2021-10-03 09:37:12 +03:00
vit9696
7cd3db3119 OcAppleSecureBootLib: Added BridgeOSHardwareModel NVRAM variable
This variable is derived from `SecureBootModel` specified in the config
(e.g. j137 becomes J137AP) and is used by macOS 12 during updates
and installations. Setting this variable allows to use macOS 12
with T2 board identifiers, e.g. j137.
2021-10-03 08:19:28 +03:00
MikhailKrichanov
102ede5dc3
OcDebugSerialLib: Provide serial debugging library with out interface (#293) 2021-10-01 12:18:17 +03:00
MikeBeaton
ce13a594c5 OcMain/OpenLinuxBoot: Un-butcher loaded image protocol 2021-10-01 08:38:51 +01:00
vit9696
57cab7d287 OcMacInfoLib: Include bridge model value 2021-09-29 03:44:40 +03:00
vit9696
1ddec326a1 Build: Fix wrong debug library dependency 2021-09-27 18:08:06 +03:00
Andrey1970AppleLife
f7d37d09a3 Updated MBP131 2021-09-24 11:26:04 +03:00
Andrey1970AppleLife
cba4ce10da Updated t2 firmwares 2021-09-24 00:26:29 +03:00