2123 Commits

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