967 Commits

Author SHA1 Message Date
Marvin Häuser
d916dd65b8 OcMachoLib: Treat container Mach-O as reference file
As of macOS 13 Developer Beta 3, the Kernel Collection's inner kernel
references a segment that precedes itself. The current model is that
a Kernel Collection is a container format and the included files are
(mostly) separate. Hence, this was treated as an out-of-bounds issue.
Kernel Collections apparently are rather an unconventional composite
format, where the sub-files are still part of the whole. Redesign
OcMachoLib to treat the Kernel Collection as the reference file.
Patches still use only the inner file, while parsing considers the
whole file.
2022-07-07 17:52:25 +02:00
PMheart
e068d37656 Bump version to 0.8.3 2022-07-05 15:34:31 +02:00
PMheart
9e8d2793ba
OcAppleKernelLib: Make quirk Patcher parameter optional (#359) 2022-07-03 12:58:14 +02:00
MikeBeaton
d804b31f8d OcStringLib: Add OC_STRING_FORMAT; rename OC_STRING_BUFFER to OC_ASCII_STRING_BUFFER 2022-07-03 07:19:40 +01:00
PMheart
33978d85ac
OcAppleKernelLib: Print injected kext bundle version in DEBUG builds (#358) 2022-06-23 07:48:45 +03:00
PMheart
bfa36972a5 OcMiscLib: Fix FindPattern prototype 2022-06-13 14:45:36 +02:00
Marvin Häuser
d7926972ab AppleEfiBootRtInfo: Initial import
macOS 13 Developer Beta 1 introduced a new driver, bootrt.efi, which
now carries the kernel call gate. It communicates with efiboot via an
info buffer passed via LoadOptions.
2022-06-11 12:30:20 +02:00
Marvin Häuser
3d58e26acc OcDevicePathLib: Import API to find device path terminator 2022-06-11 12:30:20 +02:00
PMheart
342f3fc9fd OcAppleKernelLib: Disable AICPUPM patches on macOS 13 2022-06-07 04:59:08 +02:00
PMheart
e465a60509 Bump version to 0.8.2 2022-06-07 04:42:27 +02:00
Torsten
8044c85b5a
OcBootManagementLib: Fix typo 2022-06-05 12:38:47 +02:00
vit9696
b614d5f1fd Build: Use ASCII symbols in copyrights 2022-05-30 08:35:03 +03:00
vit9696
c75d74bbda Build: Fix Uncrustify warnings 2022-05-28 14:09:52 +03:00
John Davis
65569b6590 Added PIIX4 ACPI PM timer detection for TSC calculations 2022-05-26 20:57:00 -05: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
Marvin Häuser
61e7d0c977 OcCryptoLib: Centralise dynamic scratch buffer allocation 2022-04-25 19:34:05 +02:00
Marvin Häuser
9d152dc686 OcCryptoLib: Fix potential Mont BN overflows 2022-04-25 19:32:19 +02:00
Marvin Häuser
409544921b OcCryptoLib: Don't pack internally aligned structs 2022-04-25 19:28:47 +02:00
PMheart
228f8ca1fb Codestyle: Apply codestyle changes with Uncrustify 2022-04-25 14:51:15 +02:00
PMheart
44b491f079 Bump version 2022-04-18 12:51:58 +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
155321ac91
OcAppleKernelLib: Cleanup (#328) 2022-04-02 12:11:44 +03:00
PMheart
41882d980b OcAppleKernelLib: Added ForceAquantiaEthernet quirk 2022-03-20 12:32:47 +01:00
PMheart
f3477959cf Docs: Bump version to 0.8.0 2022-03-08 17:54:49 +01:00
vit9696
6fdd6dab9b OcCryptoLib: Avoid memory allocation but in RsaVerifySigDataFromData 2022-03-06 17:19:08 +03: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
PMheart
5ec3ece4d7
OcDebugLogLib: Log filtering support (#322) 2022-02-25 23:37:05 +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
PMheart
77aa7e29ce OcXmlLib: Add XmlUnescapeString API 2022-02-10 15:28:46 +01:00
Andrey1970AppleLife
218d906061 Bump version 2022-02-07 23:07:26 +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
MikeBeaton
8e3e3c49da OcBootManagementLib+CsrUtil: Update SIP disable default value to be more similar to macOS
(safe after d51442406cb738a8db904ccfbfa0ef78569b03bc, which fixes behaviour of CSR_ALLOW_APPLE_INTERNAL)
2022-01-16 09:49:39 +00:00
MikeBeaton
67713c99dc AudioDxe: Allow gain to track OS volume on old macOS without SystemAudioVolumeDB 2022-01-14 17:08:22 +00:00
Andrey1970AppleLife
ab4513fdb3 Bump version 2022-01-11 03:49:58 +03:00
MikeBeaton
0ffd82bf63 AudioIo: Bump AudioIoProtocol revision 2022-01-10 16:53:03 +00: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
48270ac9fd AudioDxe: Fix CI error 2021-12-24 12:13:28 +00:00
MikeBeaton
01f50d3760 AudioDxe: Improve documentation and logging of AudioOutMask, and change default value to 'output all' 2021-12-24 11:22:09 +00: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
06fd414019 Bump version 2021-12-06 21:12:10 +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