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
vit9696
b66954ed95
OcAppleKernelLib: Added ProvideCurrentCpuInfo support for ADL
2021-12-10 11:51:59 +03:00
Marvin Häuser
3db6e1b996
Fix includes to work nicer with IDEs
2021-11-23 10:55:26 +01:00
dakanji
dee3ff5ef5
OcFileLib: Standardise Function Names ( #287 )
2021-08-31 10:33:34 +03:00
John Davis
ca266bf2f3
OcAppleKernelLib: Fix incorrect spacing in debug print statement
2021-07-12 19:36:17 -05:00
John Davis
91439cb72d
OcAppleKernelLib: Implement correct OSBundleLibraries handling
...
OSBundleLibraries will be used on 32-bit when OSBundleLibraries and OSBundleLibraries64 are present, and OSBundleLibraries64 will be used on 64-bit when both are present.
2021-07-09 19:36:49 -05:00
John Davis
be2d9fe75a
OcAppleKernelLib: Fix incorrect offset in ProvideCurrentCpuInfo MSR patch
2021-07-02 12:27:56 -05:00
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