404 Commits

Author SHA1 Message Date
vit9696
05d2b00c7d OcAppleKernelLib: Fix ProvideCpuInfo on 13.3 2023-02-23 15:26:01 +03:00
John Davis
6e3d292a21 OcAppleKernelLib: Remove extra slash in cacheless binary path creation 2023-02-04 16:33:07 -06:00
Mike Beaton
01b457fe81 Docs/Comments: Consistent use of Note: instead of NB 2023-01-07 09:46:19 +00:00
Shaneee
8cdab5b4ff
OcAppleKernelLib: Fix TSC/FSB for AMD CPUs in ProvideCurrentCpuInfo (#396) 2022-11-20 12:45:26 +03:00
PMheart
baff5ff5db
OcAppleKernelLib: Add patching status indicator (#386) 2022-09-29 12:45:31 +03:00
PMheart
c3a6f1208a OcAppleKernelLib: ix OPTIONAL prototype misuse 2022-09-08 16:36:52 +02:00
PMheart
27905dd7d7
Utilities: Introduce TestProcessKernel tool for testing kext injection/patching from config, by @mhaeuser (#369) 2022-08-24 11:26:35 +03:00
John Davis
6099ed0d24 OcAppleKernelLib: Fix Windows builds 2022-07-24 22:11:50 -05:00
John Davis
ce4a8edfc3 OcAppleKernelLib: Fix Windows builds 2022-07-24 21:16:09 -05:00
John Davis
e2739bfbaa OcAppleKernelLib: Fix uncrustify styling 2022-07-24 09:25:43 -05:00
John Davis
68de283159 OcAppleKernelLib: Provide cache info to 10.4 when using ProvideCurrentCpuInfo 2022-07-24 09:23:33 -05:00
John Davis
18a231eeb2 OcAppleKernelLib: Inject only current arch during cacheless boot 2022-07-22 19:40:01 -05:00
John Davis
9dd5ad1af4 OCAK: Fixed debug printing when performing cacheless kext blocking 2022-07-20 05:16:04 -05:00
PMheart
9a255a9796 Uncrustify: Apply codestyle patch 2022-07-15 10:16:45 +02:00
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
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
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
PMheart
33978d85ac
OcAppleKernelLib: Print injected kext bundle version in DEBUG builds (#358) 2022-06-23 07:48:45 +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
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
89f40f6ea8 OcAppleKernelLib: Fix variable initialisation 2022-03-01 21:55:02 +01:00
vit9696
ad4414cf3b OcAppleKernelLib: Added global MSR 35h fix to ProvideCurrentCpuInfo
This allows `-cpu host` in KVM
2022-02-12 04:37:31 +03:00
PMheart
95b487a2a3
OcAppleKernelLib: Kext block strategy for prelinked (#320) 2022-02-11 10:54:30 +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