54 Commits

Author SHA1 Message Date
John Davis
45f8ba2cd2
Add ClearTaskSwitchBit booter quirk (#573)
This quirk is needed to boot macOS 10.7 and older when using a 32-bit kernel on a 64-bit UEFI firmware that makes uses of FPU or SSE instructions in runtime services (such as Hyper-V).
2025-02-23 10:51:40 -06:00
Mike Beaton
3830364e88
OcMainLib: Add UEFI/Unload config option to unload existing firmware drivers (#553) 2024-10-06 10:22:16 +03:00
Mike Beaton
5f15e839f8
OcPeCoffExtLib: Add support for FixupAppleEfiImages quirk (#498) 2023-11-03 11:06:56 +03:00
Mike Beaton
0ad4a318b0 OcConsoleLib: Provide ConsoleFont option
to load custom .hex format console font file
2023-06-11 05:48:55 +01:00
Curi0
d84e9bbb27
OcPciIoLib: Add CpuIo/PciRootBridgeIo/PciIo fix for Aptio IV with Above 4G BARs (#459) 2023-06-04 23:05:33 +03:00
vit9696
fe15c15d17 OcMainLib: Forcibly disable single user mode with Apple Secure Boot
For some reason EfiBoot, at least as of 13.3.1, no longer filters
-s argument from command-line. Make sure we filter this out ourselves.
2023-04-08 23:28:03 +03:00
Curi0
d928b90aa5 OcDeviceMiscLib: Add ResizeUsePciRbIo to workaround broken PciIo on some UEFI firmwares 2023-01-31 08:04:36 +00:00
Mike Beaton
f6bf1f2d86 EnableGop: Provide standalone GOP driver for EFI-era Macs 2023-01-29 09:21:49 +00:00
Marvin Häuser
c7b1063028 OcAppleEventLib: Support dwell-clicking
Fixes https://github.com/acidanthera/bugtracker/issues/2067
2022-10-23 18:41:15 +02:00
vit9696
3ac28b49bb OcConfigurationLib: Restore enabled and introduce LoadEarly 2022-07-28 23:45:17 +03:00
MikeBeaton
83123452fe OCVAR: Refactor NVRAM code, add OpenVariableRuntimeDxe 2022-07-28 06:38:56 +01:00
PMheart
228f8ca1fb Codestyle: Apply codestyle changes with Uncrustify 2022-04-25 14:51:15 +02:00
vit9696
8551daca79 OcCryptoLib: Improve portability 2022-03-06 11:49:16 +03:00
PMheart
4c995bb1ba
OcDebugLogLib: Split into OcLogAggregatorLib and OcDebugLibProtocol (#325) 2022-03-02 15:04:20 +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
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
vit9696
3573bf0505 OcMainLib: Restrict DmgLoading check to all values 2022-01-12 07:14:01 +03: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
706cb4e7c6 AudioDxe: Updates
- DisconnectHda
 - AudioOutRange
 - Cirrus Logic (Apple) and QEMU fixes
 - Other fixes
2021-12-19 10:56:51 +00: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
John Davis
bf5043a862
OcDriverConnectionLib: Add ReconnectGraphicsOnConnect option (#301) 2021-11-27 14:46:22 +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
0701d15502 OcMainLib: Implement automatic scaling factor detection
closes acidanthera/bugtracker#1717
2021-11-04 18:24:39 +03:00
vit9696
20721dc99f Build: Fix minor typos, thx Slice&Co 2021-11-03 14:16:38 +03:00
vit9696
e70048cc76 OcDeviceMiscLib: Implement PCI RBAR configuration support 2021-10-11 04:53:03 +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
MikeBeaton
ce13a594c5 OcMain/OpenLinuxBoot: Un-butcher loaded image protocol 2021-10-01 08:38:51 +01:00
PMheart
d9eba194dc OcMainLib: Forgotten variable declaration 2021-09-19 13:27:05 +02:00
PMheart
c8c231b00d OcConfigurationLib: Comment support for UEFI->Drivers 2021-09-19 12:30:28 +02:00
MikeBeaton
c20928ff9e OpenLinuxBoot: Fix version compare, add debug verbose 2021-09-11 00:21:01 +01:00
Marvin Häuser
30980b6691 OC: Introduce "ForceOcWriteFlash" quirk to mitigate memory corruption 2021-09-05 21:02:16 +02:00
MikeBeaton
22cfebdf6f Platform: OpenLinuxBoot.efi 2021-09-04 15:48:36 +01:00
vit9696
239c1a533d OcAppleImg4Lib: Improve AppleSecureBoot variables for macOS 12 2021-09-03 04:12:50 +03:00
MikeBeaton
ccf5dac708 AppleEvent: Add GraphicsInputMirroring setting
To allow kb input to reliably reach ConIn GUI apps (e.g. Windows BitLocker) even when an AppleEvent key handler (e.g. CrScreenshotDxe.efi) is active
2021-07-13 23:49:37 +01:00
vit9696
479a5b15f3 OcConsoleLib: Add AppleEg2Info protocol and make rotation configurable 2021-05-09 00:43:09 +03:00
MikeBeaton
6de165ea30 MainLib: Add AVX acceleration UEFI quirk 2021-04-19 14:12:17 +01:00
vit9696
48d5fd65e7 OcDeviceMiscLib: Implement NVIDIA option ROM loading
references acidanthera/bugtracker#1280
2021-04-13 00:04:03 +03:00
MikeBeaton
47e9cc5eb8 AppleEvent: Updates
- Revert to simpler CustomDelays bool setting (avoid user errors)
 - Update docs to clarify correct use of key repeat settings on KeySupport AMI vs KeySupport V1/V2 vs non-KeySupport
 - Update PointerSpeedMul failsafe to OEM 1
 - Update key delay failsafes to OEM 50, 5
2021-04-11 18:37:19 +01:00
MikeBeaton
1919a0f458 AppleEvent: Apply minimum version check 2021-04-07 07:55:08 +01:00
Marvin Häuser
c158d61a30 OcAppleEventLib: Support configurable pointer speed 2021-04-02 23:23:28 +02:00
vit9696
2d650eff8f OcConfigurationLib: Fix previous commit 2021-04-02 22:45:02 +03:00
MikeBeaton
0445d9b917 AppleEvent: New section UEFI->AppleInput, provide more detailed control of Apple Event protocol 2021-04-02 19:16:10 +01:00
MikeBeaton
e646a47885 AppleEvent: Improve key repeat fine tuning 2021-03-30 05:42:32 +01:00
MikeBeaton
3ced5a4329 Input: Add KeySkipFirstDelay 2021-03-28 14:12:13 +01:00
vit9696
7bb41aa2fd OcAfterBootCompatLib: Added ForceBooterSignature quirk for Mac EFI
Also fixed enabling `DisableSingleUser` when related quirks are off.
2021-03-07 00:41:54 +03:00
vit9696
b06e8a790d OcDeviceMiscLib: Added ActivateHpetSupport quirk to activate HPET 2021-02-28 13:24:46 +03:00
vit9696
9bd1d3b497 OcDeviceMiscLib: Move misc device manipulation to a separate library 2021-02-28 12:44:15 +03:00
vit9696
e2f219e075 OcCpuLib: Fixed FSBFrequency calculation with fractional multiplier
closes acidanthera/bugtracker#1529
2021-02-25 19:45:38 +03:00