122 Commits

Author SHA1 Message Date
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
f604848c61
OcMainLib: Patch order change (#370)
The current behaviors of how our modification to Booter and Kernel are undocumented. In addition, we should ensure that:

- Deletion is always performed first, as it makes no sense to patch something that will be removed
- Integrated quirks are always applied preceding user patches (to prevent users from messing up the whole patch structure)
- Injection is performed last
2022-07-16 19:49:20 +02:00
PMheart
2f9a15d78e OcMainLib: Fix wrong message printing 2022-07-14 11:39:37 +02:00
John Davis
2d55820158 OcAppleKernelLib: Fix incorrect OSBundleLibraries_x86_64 and cacheless injected bundle version handling 2022-07-11 21:02:19 -05:00
PMheart
53c67f308c
OcAppleKernelLib: Fix user after free, thanks @mhaeuser (#368) 2022-07-11 13:29:58 +02:00
MikeBeaton
daa3b63c22 OC: Log legacy secure boot derived ApECID; fix minor typos 2022-07-03 07:09:08 +01:00
PMheart
33978d85ac
OcAppleKernelLib: Print injected kext bundle version in DEBUG builds (#358) 2022-06-23 07:48:45 +03:00
John Davis
436cd9b8a9 OcMainLib: Fix incorrect debug print statement 2022-05-29 11:02:13 -05:00
MikeBeaton
7d0e3d4039 Various: Static string optimisations 2022-05-17 08:50:08 +01:00
MikeBeaton
19ef39ecf5 BootEntryProtocol: Add system action and hotkey support; implement Reset NVRAM and Toggle SIP as drivers 2022-05-16 22:23:49 +01:00
MikeBeaton
bcd2558686 OcAudio: Convert from int ids to string ids 2022-05-05 04:33:54 +01:00
PMheart
5c5056694a Codestyle: Apply Uncrustify patch 2022-05-03 13:12:55 +02:00
PMheart
a825d000be OcAppleKernelLib: Correct CustomPciSerialDevice patch, thanks @joevt
Reference: https://github.com/acidanthera/bugtracker/issues/2003
2022-05-03 13:11:01 +02:00
PMheart
228f8ca1fb Codestyle: Apply codestyle changes with Uncrustify 2022-04-25 14:51:15 +02:00
PMheart
1ca2a9553f
OcAppleKernelLib: Added CustomPciSerialDevice quirk (#331) 2022-04-14 12:58:37 +02:00
PMheart
6825e9a449
OcMainLib: Read and set serial PCD values from config (#330) 2022-04-04 23:43:11 +02:00
PMheart
95596f336a Docs: Fix SetApfsTrimTimeout description 2022-04-04 20:20:33 +02:00
PMheart
41882d980b OcAppleKernelLib: Added ForceAquantiaEthernet quirk 2022-03-20 12:32:47 +01: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
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
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
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
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
Marvin Häuser
3db6e1b996 Fix includes to work nicer with IDEs 2021-11-23 10:55:26 +01: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
19aea59da5 OcMainLib: Fixed opencore-version not being added to NVRAM variables 2021-10-03 16:09:14 +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
vit9696
1cb8490fd6 OcMainLib: Add large basesystem support to AdviseFeatures 2021-09-22 18:47:37 +03: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
vit9696
09d414ae93 OcMainLib: Do not use config UUID when NVRAM is not updated 2021-09-05 20:47:34 +03:00