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
9e8d2793ba
OcAppleKernelLib: Make quirk Patcher parameter optional ( #359 )
2022-07-03 12:58:14 +02: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
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
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
95596f336a
Docs: Fix SetApfsTrimTimeout description
2022-04-04 20:20:33 +02:00
PMheart
8f60fd29d8
OcAppleKernelLib: Fix mApfsTimeoutPatch
2022-04-04 19:11:17 +02:00
PMheart
155321ac91
OcAppleKernelLib: Cleanup ( #328 )
2022-04-02 12:11:44 +03:00
PMheart
fb28ce2cae
OcAppleKernelLib: Prefer Shikumo's Aquantia patch
2022-03-21 13:53:18 +01:00
PMheart
0605cdaa74
OcAppleKernelLib: Adopt Aquantia patch by Shikumo
2022-03-20 18:22:38 +01:00
PMheart
a4b0c47f13
OcAppleKernelLib: Fix version matching
2022-03-20 12:55:46 +01:00
PMheart
41882d980b
OcAppleKernelLib: Added ForceAquantiaEthernet quirk
2022-03-20 12:32:47 +01:00
PMheart
9e76d91905
OcAppleKernelLib: Disable trim using new method
...
closes https://github.com/acidanthera/bugtracker/issues/1950
2022-02-10 20:02:50 +01:00
vit9696
05351f220b
Docs: Sync ExtendBTFeatureFlags requirements
2021-06-19 12:48:55 +03:00
PMheart
24214b8a0c
OcAppleKernelLib: macOS 12.0 support for AppleXcpmForceBoost
...
closes https://github.com/acidanthera/bugtracker/issues/1685
2021-06-15 09:17:30 +08:00
vit9696
45804a2894
OcAppleKernelLib: Fixed SetApfsTrimTimeout on macOS 12
2021-06-12 22:57:32 +03:00
PMheart
e16a36f620
OcAppleKernelLib: Fix typo
2021-06-12 13:36:19 +08:00
vit9696
8b5255c082
OcAppleKernelLib: Fixed PowerTimeoutKernelPanic on macOS 12
...
closes acidanthera/bugtracker#1673
2021-06-12 07:11:14 +03:00
vit9696
f9a279bd8c
OcAppleKernelLib: Fix assertion with BTFeatureFlags quirk on 10.6
2021-05-27 00:12:27 +03:00
Mykola Grymalyuk
e5d0896eb8
CommonPatches: Fix typo
2021-02-24 12:08:48 -07:00
vit9696
949c6ba15f
Docs: Deprecate XhciPortLimit due to macOS 11.3 issues
...
closes acidanthera/bugtracker#1514
2021-02-21 20:55:55 +03:00
Marvin Häuser
da40a0518c
OcAppleKernelLib: Fix Jettison heuristics
2021-02-21 10:42:19 +01:00
vit9696
f45df2f124
OpenCoreKernelPatch: Added SetApfsTrimTimeout to tune APFS trim
2021-01-24 21:13:43 +03:00
vit9696
b8843e6dcd
OcAppleKernelLib: Fix assertion when patching AppleImage4
2021-01-02 09:21:26 +03:00
vit9696
1b7525c7de
OcAppleKernelLib: Added ForceSecureBootScheme quirk for VMs
2020-11-01 13:30:55 +03:00
vit9696
ba10b5d721
OcAppleImg4Lib: Added support for x86legacy secure boot model
2020-11-01 01:12:02 +03:00
vit9696
ecbed230e0
OcAppleKernelLib: Fix compilation (again)
2020-10-04 18:01:30 +03:00
vit9696
21fb96107e
OcAppleKernelLib: Do not compile bcopy to avoid linker issues
2020-10-04 17:15:51 +03:00
vit9696
8a5342a4ea
OcAppleKernelLib: Fix Windows compilation
2020-10-04 14:08:53 +03:00
vit9696
81c2818175
OcAppleKernelLib: Fix bcopy implementation for LegacyCommpage quirk
2020-10-04 13:52:48 +03:00
Goldfish64
eb56315475
OcAppleKernelLib: Fix comments from previous commit
2020-10-03 19:51:51 -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
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
John Davis
74062d4e0f
OcAppleKernelLib: Add 32-bit Mach-O and patching support ( #118 )
2020-09-13 22:57:10 +03:00
vit9696
bc6398fa30
OcAppleKernelLib: Fix typo in the previous commit
2020-09-06 12:02:30 +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
vit9696
ee7aaa37e1
OcAppleKernelLib: Fix CFG lock patch for SNB
2020-08-23 22:03:16 +03:00
vit9696
57fc9000ad
OcAppleKernelLib: Fixed LapicKernelPanic quirk on 10.8.5
2020-08-23 18:50:54 +03:00
vit9696
444365c87c
OcAppleKernelLib: Fixed IncreasePciBarSize on 10.11.5
2020-08-23 17:32:10 +03:00
vit9696
ca6c829961
OcAppleKernelLib: Rework AppleCpuPmCfgLock to support 10.6.8
2020-08-23 17:04:08 +03:00
vit9696
c8c9ee5608
OcAppleKernelLib: Fixed XhciPortLimit on 10.12.6
2020-08-23 17:03:24 +03:00
vit9696
4b00ad2c1c
OcAppleKernelLib: Improve error checking for kernel quirks (part 1)
2020-08-23 00:25:52 +03:00