979 Commits

Author SHA1 Message Date
MikeBeaton
c9ba16fb98 OcVariableRuntimeDxe: Minor updates to comment lines and docs 2022-07-30 08:50:57 +01: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
John Davis
68de283159 OcAppleKernelLib: Provide cache info to 10.4 when using ProvideCurrentCpuInfo 2022-07-24 09:23:33 -05:00
MikeBeaton
77c6c9d409 ToggleSipEntry: Add --show-csr option 2022-07-24 14:19:52 +01:00
John Davis
b8d552f1c8
OCAB: Implement Mac OS X 10.4/10.5 relocation block support (#373) 2022-07-24 12:27:06 +02:00
John Davis
18a231eeb2 OcAppleKernelLib: Inject only current arch during cacheless boot 2022-07-22 19:40:01 -05:00
MikeBeaton
e7ad34e1a8 AudioDxe/OcAudio: Remove default codec setup delay; add --codec-setup-delay option; change units of Audio->SetupDelay from microseconds to milliseconds 2022-07-20 23:30:36 +01:00
John Davis
9872eef1d1 OCAK: Fix ProvideCurrentCpuInfo
Changed function to use original symbol values instead of recalculating them, as segment information is not available on macOS 11 and newer. Implemented full 32-bit support for TSC value calculations.
2022-07-13 20:34:51 -05:00
PMheart
53c67f308c
OcAppleKernelLib: Fix user after free, thanks @mhaeuser (#368) 2022-07-11 13:29:58 +02:00
MikeBeaton
279f054df5 OcLog: Allow optional unsafe fast log 2022-07-10 07:10:26 +01:00
Marvin Häuser
bd2d3f29ab OcAppleKernelLib: Do not locate __PRELINK_INFO for Kernel Collections
As of macOS 13 Developer Beta 3, the __PRELINK_INFO marker segment is
broken. It is not actually used in the Kernel Collection paths, so
just don't locate it at all to avoid future mistakes.
2022-07-07 17:52:25 +02:00
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