348 Commits

Author SHA1 Message Date
John Davis
378cc59adf OcAppleKernelLib: Fix ProvideCurrentCpuInfo MSR patch on macOS 12 2021-07-02 12:22:15 -05: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
Goldfish64
9e35a94f49 OcAppleKernelLib: Add vtable patching failure debug statements 2021-05-31 20:58:56 -05:00
Goldfish64
f7d3e83f79 OcAppleKernelLib: Add CPU topology patches to ProvideCurrentCpuInfo 2021-05-29 18:59:21 -05:00
Vitaly Cheptsov
acd32171f4
OcAppleKernelLib: Silence MSVC 2021-05-27 07:54:21 +03:00
Goldfish64
90f7fbb14a OcAppleKernelLib: Fix previous commit 2021-05-26 21:23:35 -05:00
Goldfish64
f3f7bb6e76 OcAppleKernelLib: Directly patch TSC and FSB variables 2021-05-26 20:17:20 -05:00
vit9696
f9a279bd8c OcAppleKernelLib: Fix assertion with BTFeatureFlags quirk on 10.6 2021-05-27 00:12:27 +03:00
Goldfish64
7231e1f361 OcAppleKernelLib: Fix Windows builds 2021-05-19 19:09:44 -05:00
Goldfish64
85d453eeb1 OcAppleKernelLib: Fix previous commit 2021-05-19 18:40:55 -05:00
Goldfish64
22a42d65e0 OcAppleKernelLib: Add ProvideCurrentCpuInfo kernel quirk
This quirk provides correct TSC and FSB to the kernel, as well as disable topology validation checks. Both of these are required for Hyper-V.
2021-05-19 18:39:51 -05:00
Marvin Häuser
5cd223f03d OcAppleKernelLib: Log when requested symbol has 0 value 2021-04-07 16:43:27 +02: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
Marvin Häuser
e1ee8d3578 OcAppleKernelLib: Fix potential NULL dereferences
Fixes Coverity 302191 and 302192
2021-02-21 10:42:19 +01:00
Marvin Häuser
3133f08db1 OcAppleKernelLib: Fix potential NULL dereference
Fixes Coverity 302189
2021-02-21 10:42:19 +01:00
PMheart
5e9ee6e261 OcAppleKernelLib: Fix return value 2021-02-15 19:57:28 +08:00
Marvin Häuser
85036254d0 OcMiscLib: Fix potential overflow in ApplyPatch() 2021-02-14 13:41:48 +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
PMheart
08ddaab469
Utilities: Advanced ocvalidate for error checking (#169) 2020-12-24 20:09:52 +03:00
Goldfish64
b9e08ba44b OcAppleKernelLib: Fix patching of injected kexts in mkext 2020-11-05 19:54:13 -06: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
Download-Fritz
72649849dd OcAppleKernelLib: Rebuild KC when no kexts are injected
Fixes an issue where __PRELINK_INFO (first segment) is relocated and thus renders relocations invalid (relative to the first segment's VA)
2020-10-25 14:15:01 +01:00
Download-Fritz
6ffd979500 OcAppleKernelLib: Fix invalid kremlin section 2020-10-25 14:15:01 +01:00
Download-Fritz
7732a7b6d2 OcAppleKernelLib: Zero trailing KC expansion 2020-10-25 12:43:36 +01:00
Goldfish64
7adaaa15ee OcAppleKernelLib: Fix invalid return status handling 2020-10-18 18:36:23 -05:00
Goldfish64
ff3984b2e6 OcAppleKernelLib: Fix previous commit 2020-10-13 21:05:35 -05:00
Goldfish64
9ecb761836 OcAppleKernelLib: Fix CPUID patching on 10.4.10 and 10.4.11 2020-10-13 19:57:43 -05:00
vit9696
61cc6f609e OcAppleKernelLib: Add memcpy/memmove support to legacy bcopy 2020-10-04 20:59:23 +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
676ef93d9d
OcAppleKernelLib: Add 32-bit prelinking support (#122) 2020-09-29 12:41:37 +03:00
John Davis
74062d4e0f
OcAppleKernelLib: Add 32-bit Mach-O and patching support (#118) 2020-09-13 22:57:10 +03:00
Goldfish64
18ce64b408 OcAppleKernelLib: Fix previous commit 2020-09-13 12:16:24 -05:00
Goldfish64
85d0532e17 OcAppleKernelLib: Fix previous commit 2020-09-13 11:49:02 -05:00
Goldfish64
d583e2031a OcAppleKernelLib: Only apply KC address fixup during block if KC 2020-09-13 10:57:53 -05:00
Goldfish64
c559acd81c OcAppleKernelLib: Do not abort if Info.plist is missing
Some versions of 10.4 may have kexts that do not have an Info.plist, but have plugins. We still want to scan any plugins in this case.
2020-09-12 18:52:22 -05:00
vit9696
bc6398fa30 OcAppleKernelLib: Fix typo in the previous commit 2020-09-06 12:02:30 +03:00