John Davis
e41d88f50f
OcAppleKernelLib: Implement support for macOS 10.4 for ProvideCurrentCpuInfo quirk
2022-07-14 22:41:16 -05:00
John Davis
6c188569e6
OcAppleKernelLib: Fix potential null reference and account for kxld symbols
2022-07-14 06:59:28 -05:00
PMheart
2f9a15d78e
OcMainLib: Fix wrong message printing
2022-07-14 11:39:37 +02:00
John Davis
4c45308b3a
OcAppleKernelLib: Fix codestyle
2022-07-13 20:50:35 -05: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
b06c6b3fcb
OcAppleKernelLib: Fix kext bundle version copying, thanks @mhaeuser
2022-07-12 10:08:49 +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
Marvin Häuser
95adcd7be7
OcAppleKernelLib: Fix ProvideCurrentCpuInfo
...
Fixes regression introduced by
d916dd65b8 .
2022-07-10 18:06:25 +02:00
MikeBeaton
279f054df5
OcLog: Allow optional unsafe fast log
2022-07-10 07:10:26 +01:00
PMheart
0b806dccdf
OcAppleKernelLib: Fix minor typo
2022-07-08 20:06:15 +02: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
1b24da4ebb
OcAppleKernelLib: Fix minor typo
2022-07-05 19:23:14 +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
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
Marvin Häuser
714fc69f96
OcAfterBootCompatLib: Add new KCG patch logging
2022-06-13 14:53:11 +02:00
Marvin Häuser
c4792bb6aa
OcAfterBootCompatLib: Remove dead code
2022-06-13 14:53:11 +02:00
PMheart
bfa36972a5
OcMiscLib: Fix FindPattern prototype
2022-06-13 14:45:36 +02:00
Marvin Häuser
e05a69da64
OcAfterBootCompatLib: Always use OC image loader for EfiBootRt
2022-06-12 10:35:39 +02:00
Marvin Häuser
6c641b7a4e
OcAfterBootCompatLib: Support AvoidRuntimeDefrag for macOS 13 DP1
...
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. Patch it on load with our hook to
run our kernel entry code.
2022-06-11 12:30:20 +02:00
Marvin Häuser
f8aab62e97
OcAfterBootCompatLib: Extend AllocRelocationBlock support
...
The current relocation code is only supported in conjunction with
ProvideCustomSlide. Add support for disabled ProvideCustomSlide and
slide=0 in boot-args.
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
Andrey1970AppleLife
03f545e875
DataBase: Updated builtin firmware versions
2022-06-07 20:12:10 +03:00
PMheart
7b1bb6dbe7
OcAppleKernelLib: Minor logging improvement to avoid confusion
2022-06-07 05:04:07 +02:00
PMheart
342f3fc9fd
OcAppleKernelLib: Disable AICPUPM patches on macOS 13
2022-06-07 04:59:08 +02:00
vit9696
b614d5f1fd
Build: Use ASCII symbols in copyrights
2022-05-30 08:35:03 +03:00
John Davis
436cd9b8a9
OcMainLib: Fix incorrect debug print statement
2022-05-29 11:02:13 -05: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
PMheart
2e2dde8e24
OcBootManagementLib: De-duplication of mOzmosisProprietary1Guid ( #354 )
2022-05-24 09:54:03 +03: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
11232d53f5
Codestyle: Fixed by Uncrustify
2022-04-25 21:30:42 +02:00
PMheart
56f5ec84b8
Codestyle: Apply codestyle changes with Uncrustify
2022-04-25 19:34:46 +02: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
f7c1a3d483
OcAppleKernelLib: Fix codestyle
2022-04-25 15:44:28 +02:00
PMheart
228f8ca1fb
Codestyle: Apply codestyle changes with Uncrustify
2022-04-25 14:51:15 +02:00
PMheart
ad16b282ea
OcAppleKernelLib: Fixed ExtendBTFeatureFlags quirk on newer macOS versions, thx @lvs1974
2022-04-22 12:27:30 +02:00
PMheart
6d0e6f5205
Docs: Add notes about ForceAquantiaEthernet compatibility
2022-04-16 23:39:36 +02:00
PMheart
097e046050
OcAppleKernelLib: Add missing CONST
2022-04-14 23:14:27 +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