295 Commits

Author SHA1 Message Date
John Davis
8b452306e5
OpenCoreKernel: Implement force injection of system kexts (#111) 2020-08-27 18:52:53 +03:00
vit9696
f427a77d81 OcAppleKernelLib: Update PrelinkedStateKextsAddress after rebase
This lets kext patching work after injection on 10.6.8
2020-08-27 02:27:29 +03:00
vit9696
520d27d66d OcAppleKernelLib: Fix KPI handling in 10.6 prelinkedkernel
Resolves issues injecting AppleIntelE1000e.kext referencing IOLockLock
2020-08-27 01:38:13 +03:00
Goldfish64
8e2755f29c OpenCoreKernel: Implement kernelcache fuzzy matching 2020-08-25 05:47:41 +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
vit9696
5ded24b71f OcAppleKernelLib: Expose kernel version to quirks 2020-08-22 22:28:28 +03:00
vit9696
d4b1f49b65 OcAppleKernelLib: Improve CPUID patch for 10.6 2020-08-22 21:17:31 +03:00
vit9696
dc923bc895 OcAppleKernelLib: Partially fix kext blocking for 11.0 2020-08-22 09:54:29 +03:00
vit9696
6f795d6a80 OcAppleKernelLib: Fix memory initialisation 2020-08-22 09:29:26 +03:00
vit9696
dde7432b62 OcAppleKernelLib: Implement KXLD symbolic solver 2020-08-22 09:11:28 +03:00
John Davis
818f9e3f57
32-bit kernel switching support (#104)
* OcMacInfoLib: Add 64-bit model compatibility function

* OcMacInfoLib: Fix previous commit

* OpenCorePlatform: Store current SMBIOS platform

* OpenCorePlatform: Fix variable

* OpenCoreKernel: Implement 32-bit kernel switching

* OpenCoreKernel: Force 32-bit on EFI32

* OpenCoreKernel: Fix previous commit
2020-08-21 22:31:19 -05:00
Goldfish64
442ec2f2c3 OcAppleKernelLib: Add ParseFatArchitecture status check 2020-08-20 14:19:42 -05:00
Goldfish64
342773ef34 OcAppleKernelLib: Use library FAT parsing 2020-08-20 12:05:56 -05:00
Goldfish64
5ea680a055 OcAppleKernelLib: Fix handling for codeless kexts 2020-08-19 11:25:41 -05:00
Goldfish64
5c92fe3098 OcAppleKernelLib: Fix cacheless codeless kext handling 2020-08-19 10:23:22 -05:00
vit9696
04fa1c2394
OcAppleKernelLib: Implement cacheless & mkext kext patching and quirks (#102) 2020-08-18 23:47:38 +03:00
vit9696
17e99ea36b OcAppleKernelLib: Fix compiler warnings 2020-08-17 00:04:34 +03:00
vit9696
70c55e03bb OcAppleKernelLib: Implement CPUID patching for 10.6 64-bit 2020-08-16 04:59:47 +03:00
vit9696
b5dcbd32d1
OcAppleKernelLib: Implement KXLD link state handling (#101) 2020-08-16 00:33:56 +03:00
vit9696
c3e14b6824
OcAppleKernelLib: Implement mkext injection support (#99) 2020-08-15 00:40:06 +03:00
vit9696
f48c647b70 OcAppleKernelLib: Fix solving kernel symbols to zero in 11.0
Observed with Black80211 when trying to solve Black80211Control vtable
imports from IONetworkingFamily. When trying to look up
__ZNK19IONetworkController11getFeaturesEv it will be found not just in
IONetworkingFamily but also IO80211Family, where it is going to be
external undefined, i.e. Type = 0x1.
2020-08-10 21:28:39 +03:00
vit9696
459a769f83 OpenCoreUefi: Add immutablekernel loading support
references acidanthera/bugtracker#1071
2020-08-09 23:11:00 +03:00
Goldfish64
c9b719670e OcAppleKernelLib: Use original modified time for virtual SLE 2020-08-08 13:25:03 -05:00
vit9696
7e965893bd
OcAppleKernelLib: Implement 64-bit cacheless kext injection (#96)
references acidanthera/bugtracker#358
2020-08-08 20:05:23 +03:00
Goldfish64
cbdef704f4 OcXmlLib: Add plist doctype export option 2020-07-26 20:25:25 -05:00
vit9696
426a5dbe09 OcAppleKernelLib: Fixed OSXSAVE reporting when emulating CPUID on newer CPUs 2020-07-25 18:23:05 +03:00
vit9696
32bf419136 OcAppleKernelLib: Fix memory corruption with many kexts in 11.0 2020-07-18 04:40:37 +03:00
Download-Fritz
f1e8766af9 Utilities/KextInject: Determine Info/EXE reserve sizes 2020-07-17 23:01:41 +02:00
vit9696
748b0ea20e OcAppleKernelLib: Fix incorrect assertion on zero relocations 2020-07-07 12:13:57 +03:00
vit9696
802dcdbf19 OcAppleKernelLib: Fix arg order for OcKernelLoadKextsAndReserve 2020-07-07 00:14:45 +03:00
vit9696
57f4824a8e
OcAppleKernelLib: Older kernel kext base is lower 2020-07-06 00:31:14 +03:00
vit9696
d8ace47606 OcAppleKernelLib: Fix patching KC vtables with imports from kexts 2020-07-05 23:18:10 +03:00
vit9696
9e166de9ac Utilities: Drop separate KC utility and unify with KextInject 2020-07-05 20:57:13 +03:00
vit9696
27053778bc OcAppleKernelLib: Fix relocation support for EfiBoot in KC mode 2020-07-05 18:54:38 +03:00
vit9696
995924032c OcAppleKernelLib: Get kernel patcher work (mostly) 2020-07-05 04:23:43 +03:00
vit9696
ef8fdce8cd OcAppleKernelLib: Fix linking against injected kexts 2020-07-05 04:23:43 +03:00
vit9696
0b3dcf4f7e OcAppleKernelLib: Improve handling of KC DySymtab 2020-07-04 20:21:37 +03:00
vit9696
1ef945991a OcAppleKernelLib: Fix __LINKEDIT handling in KC mode 2020-07-04 19:04:06 +03:00
vit9696
605878e57a OcAppleKernelLib: Partially fix symbol resolution from kexts 2020-07-04 17:10:03 +03:00
Download-Fritz
07b697d28d OcMachoLib: Support KC Mach-Os 2020-07-04 15:28:22 +02:00
vit9696
6fdd4a2834 OcXmlLib: Treat non-hex data as integer data
In 11.0 kc plist pointer data is in decimal
2020-07-04 16:04:02 +03:00
vit9696
e09b29d7e0 OcAppleKernelLib: Fix legacy kernel injection 2020-07-04 15:29:38 +03:00
Download-Fritz
4908a5374c OcAppleKernelLib: Fix prelinkedkernel injection 2020-07-04 13:22:17 +02:00
vit9696
0271bacc27 OcAppleKernelLib: More progress with 11.0, many thx to @Download-Fritz 2020-07-04 01:58:04 +03:00
Download-Fritz
2ae43ab055 OcAppleKernelLib: Support KC kernel symbols and fix PLIST 2020-06-29 20:34:01 +02:00