208 Commits

Author SHA1 Message Date
vit9696
4e0ff2dfa7 OcConsoleLib: Added Apple variant of GopPassThrough
On MP3,1 with UGA there is a dangling UGA protocol with 1024x768
resolution on ConOut, which points nowhere when no Apple GPU is
installed. Installing GOP on it results in black screen due to
the wrong GOP being chosen for ConOut.

The workaround is not to install the GOP without AppleFramebufferInfo
but this is only applicable to Apple machines, thus the option.
2021-05-23 10:32:35 +03:00
Goldfish64
3651bd84b4 OcConfigurationLib: Fix quirk order 2021-05-19 18:43:25 -05:00
Goldfish64
22a42d65e0 OcAppleKernelLib: Add ProvideCurrentCpuInfo kernel quirk
This quirk provides correct TSC and FSB to the kernel, as well as disable topology validation checks. Both of these are required for Hyper-V.
2021-05-19 18:39:51 -05:00
Mike Beaton
e9ce0d843f
OcBootManagementLib: Implement Boot Entry Flavour system (#260) 2021-05-19 14:30:42 +03: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
37addb5bc5 OcConfigurationLib: Fix option order 2021-04-13 00:33:20 +03: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
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
Vitaly Cheptsov
5880ec2182
OcAcpiLib: Provide Base lookup for ACPI patches (#237) 2021-03-15 18:45:45 +03: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
ced62ddf68 OcMainLib: Added ResetTrafficClass to reset TCSEL to T0 on legacy HDA 2021-02-27 20:13:04 +03:00
Marvin Häuser
f89d514803 OcInputLib: Remove deprecated KeyMergeThreshold 2021-02-23 14:30:07 +01:00
PMheart
7180cdb43b
OpenCoreUefiInOut: Added GopPassThrough option to support GOP protocol over UGA (#211) 2021-02-21 18:13:15 +03:00
vit9696
df113de085 OpenCorePlatform: Provide support for SSN variable
closes acidanthera/bugtracker#1500
2021-02-16 16:04:27 +03:00
vit9696
c97baf360b OcSmbiosLib: Prefer NVRAM values when reading OEM MLB and ROM 2021-02-14 16:05:16 +03:00
PMheart
7a582b402b
ocvalidate: Support for error count cumulation during OcConfigurationInit call (#193) 2021-02-05 18:20:11 +08:00
Vitaly Cheptsov
ad2b516bf7
OcMainLib: Introduce RFC 4122 encoding for SMBIOS System UUID (#187)
closes acidanthera/bugtracker#1457
2021-02-02 00:18:29 +03:00
vit9696
469f8cfb66 OpenCoreMisc: Replace BootProtect with LauncherOption 2021-01-30 23:04:10 +03:00
vit9696
727c90dd4a OcMainLib: Implement DisableSecurityPolicy UEFI quirk
This quirk disables platform security policy, allowing to load any
files and drivers. Some firmwares like Microsoft Surface do not load
drivers even with UEFI Secure Boot disabled, thus the workaround.

references acidanthera/bugtracker#1446
2021-01-26 22:45:54 +03:00
vit9696
f45df2f124 OpenCoreKernelPatch: Added SetApfsTrimTimeout to tune APFS trim 2021-01-24 21:13:43 +03:00
Mykola Grymalyuk
dfd459a7f0
OpenCorePlatform: Add MaxBIOSVersion option to Generic (#179)
closes acidanthera/bugtracker#1427
2021-01-11 12:31:52 +03:00
PMheart
e7f7360076 OpenCanopy: Implement PickerVariant support 2021-01-02 16:34:10 +03:00
vit9696
c87ae5bd84 OcConfigurationLib: Fix typos in configuration types, thx @MikeBeaton
references #173
2020-12-28 02:08:09 +03:00
vit9696
d7a27a44b3 OpenCoreUefiAudio: Implement UEFI audio SetupDelay
closes acidanthera/bugtracker#971
2020-12-26 11:26:11 +03:00
vit9696
befa997b12 OpenCoreUefi: Remove DeduplicateBootOrder quirk
This quirk was required earlier to workaround ASUS bios issues.
A better workaround for these issues was added in 0.6.4.
At this point DeduplicateBootOrder may only mask issues related
to incorrect Bootstrap/BootstrapShort preference for the board
and is thus removed due to being essentially harmful.

Note, that for some firmwares it is normal to have 2 Windows
entries, and DeduplicateBootOrder had nothing to do with it.
2020-12-23 00:36:20 +03:00
vit9696
f6193c47ca OpenCoreAudio: Implement PlayChime control via StartupMute variable
closes acidanthera/bugtracker#1331
2020-12-06 03:55:50 +03:00
PMheart
8a0323c6be
OcAfterBootCompatLib: Implement booter patch (#165) 2020-12-05 23:30:29 +08:00
Vitaly Cheptsov
258fb83ec7
OcAfterBootCompatLib: Implement relocation block support (#153)
closes acidanthera/bugtracker#1125
2020-11-13 19:49:57 +03:00
vit9696
8be51674a4 OcBootManagementLib: Implement RealPath and TextMode for custom entries
closes acidanthera/bugtracker#1081
2020-11-07 05:47:45 +03:00
vit9696
3998399ea9 OcBootManagementLib: Added BlacklistAppleUpdate to fix update optout
closes acidanthera/bugtraker#1255
2020-11-04 12:30:27 +03:00
vit9696
1b7525c7de OcAppleKernelLib: Added ForceSecureBootScheme quirk for VMs 2020-11-01 13:30:55 +03:00
vit9696
bf94146f13 OpenCorePlatform: Added setting of system-id NVRAM variable 2020-11-01 12:52:51 +03:00
John Davis
cde37269aa
VBIOS patching via ForceResolution option (#144)
* BiosVideo: Initial Intel patching functions

* BiosVideo: Implement patch protocol

* BiosVideo: Read EDID from VBE

* BiosVideo: Fix previous commits

* OpenDuet: Fix Windows builds

* BiosVideo: Fix MSVC warnings

* BiosVideo: Pull max resolution from EDID

* BiosVideo: Patch based on PCI vendor ID

* BiosVideo: Fix more MSVC warnings

* OcMiscLib: Try to fix OpenDuet MSVC compilation

* BiosVideo: Fix incorrect return status

* OpenDuet: Create OcDebugLogLibNull library

* Protocol: Rename OC_VBIOS_PATCH_PROTOCOL to OC_FORCE_RESOLUTION_PROTOCOL

* OpenCore: Add ForceResolution option

* BiosVideo: Fix consistency of height/width parameters

* Includes: Mark height/width as optional

* BiosVideo: Cleanup misc issues

* Docs: Add support note
2020-10-26 19:18:06 -05:00
John Davis
bf043cae2e
Custom memory properties (#139)
* OcSmbiosLib: Implement custom memory configurations

* OcSmbiosLib: Fix previous commit

* OcSmbiosLib: Change to 0-based indexes

* Docs: Update manual and sample configs
2020-10-17 17:33:37 -05:00
Goldfish64
f18a2a73c1 OcAppleKernelLib: Add LegacyCommpage quirk
Replaces default 64-bit commpage bcopy implementation with one that does not require SSSE3, required for legacy platforms without SSSE3. Resolves a "commpage no match for last" panic due to no available bcopy implementations.
2020-10-03 19:43:35 -05:00
PMheart
d5c140bfef
OcAppleKernelLib: Added MinKernel/MaxKernel to Emulate (#128)
Also, DummyPowerManagement, usually paired with CPUID spoofing, has been moved to Emulate section.
2020-10-03 13:10:24 +08:00
PMheart
e93624ab16
OcAppleKernelLib: Added ExtendBTFeatureFlags quirk (#126)
This quirk substitutes BT4LEContinuityFixup which actually fails to function properly due to late patching.
2020-10-02 11:31:03 +08:00
Alex James
266b709c12 OpenCorePlatform: Add SystemMemoryStatus option to Generic 2020-09-29 10:59:27 +03:00
coolhaxor
fdfdc7e0d8 OcMemoryLib: Implement Type for ReservedMemory 2020-09-23 22:30:33 +03:00
vit9696
78f0907c03 OpenCorePlatform: Added ProcessorType option to Generic
This allows custom CPU names. Do not use this is the detection
is wrong for you but rather bugreport with CPUID dumps.
2020-09-10 19:00:12 +03:00
vit9696
db87b3263d OcSerializeLib: Added debugging of missing fields in the configuration 2020-09-06 16:27:12 +03:00
vit9696
12fcf3edf5 OcConfigurationLib: Fix previous commit 2020-09-06 04:03:21 +03:00
vit9696
2bde94afc5 OcAppleKernelLib: Added DisableLinkeditJettison quirk
This quirk is similar to keepsyms=1 but is potentially less intrusive.
Lilu needs to access __LINKEDIT to do symbol solving in the kernel.
2020-09-06 03:11:45 +03:00