77 Commits

Author SHA1 Message Date
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
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
Goldfish64
73533f88e2 OpenCoreKernel: Implement arch filtering for Block 2020-08-30 11:16:34 -05:00
Goldfish64
2bddd41443 OpenCoreKernel: Implement arch filtering for injection and patching 2020-08-30 10:55:09 -05:00
Goldfish64
6ba372fe50 OpenCoreKernel: Fix EM64T check 2020-08-29 19:57:46 -05:00
Goldfish64
1eaab9ad75 OpenCoreKernel: Fix 64-bit detection behavior 2020-08-29 19:53:13 -05:00
vit9696
250c1eefae OpenCoreKernel: Improve KernelArch implementation 2020-08-29 16:18:59 +03:00
vit9696
b5c74d3e62 OcBootManagementLib: Add some callback stubs for image loader 2020-08-29 10:45:17 +03:00
John Davis
8b452306e5
OpenCoreKernel: Implement force injection of system kexts (#111) 2020-08-27 18:52:53 +03:00
Goldfish64
8e2755f29c OpenCoreKernel: Implement kernelcache fuzzy matching 2020-08-25 05:47:41 +03:00
vit9696
6b6304aa74 Docs: Improve multikernel documentation 2020-08-25 05:47:20 +03:00
Goldfish64
28884d1456 OpenCoreKernel: Only calculate hash if SB is enabled 2020-08-23 13:41:32 -05:00
Goldfish64
fed62b1e9e OpenCoreKernel: Return on arch mismatch error 2020-08-22 18:04:39 -05:00
Goldfish64
b98dac7e7a OpenCoreKernel: Add additional arch logging 2020-08-22 17:41:20 -05:00
Goldfish64
1ecceb0068 OpenCoreKernel: Implement 32-bit switching based on boot args 2020-08-22 16:53:00 -05:00
vit9696
5ded24b71f OcAppleKernelLib: Expose kernel version to quirks 2020-08-22 22:28: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
94162dede1 OpenCoreKernel: Don't match kernels in .kext bundles 2020-08-20 12:17:36 -05:00
Goldfish64
342773ef34 OcAppleKernelLib: Use library FAT parsing 2020-08-20 12:05:56 -05:00
Goldfish64
c2ca9ac693 OpenCoreKernel: Use new function for virtual kernel 2020-08-19 15:22:13 -05:00
Goldfish64
f545a348a0 OpenCoreKernel: Block cache types via ForceKernelCache option 2020-08-19 15:17:54 -05:00
Goldfish64
a1316334ad OpenCoreKernel: Don't match .kext or .im4m during XNU hook 2020-08-18 17:11:34 -05:00
vit9696
04fa1c2394
OcAppleKernelLib: Implement cacheless & mkext kext patching and quirks (#102) 2020-08-18 23:47:38 +03:00
vit9696
70c55e03bb OcAppleKernelLib: Implement CPUID patching for 10.6 64-bit 2020-08-16 04:59:47 +03:00
vit9696
c3e14b6824
OcAppleKernelLib: Implement mkext injection support (#99) 2020-08-15 00:40:06 +03:00
vit9696
459a769f83 OpenCoreUefi: Add immutablekernel loading support
references acidanthera/bugtracker#1071
2020-08-09 23:11:00 +03:00
Goldfish64
f5a9ff02b0 OpenCoreKernel: Free cacheless context if previously valid 2020-08-08 15:25:48 -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
96f488a17c OcFileLib: Fix typo 2020-07-17 23:23:25 -05:00
vit9696
802dcdbf19 OcAppleKernelLib: Fix arg order for OcKernelLoadKextsAndReserve 2020-07-07 00:14:45 +03:00
vit9696
0271bacc27 OcAppleKernelLib: More progress with 11.0, many thx to @Download-Fritz 2020-07-04 01:58:04 +03:00
vit9696
764c5c2277 OcAppleKernelLib: Continue working on KC prelinking 2020-06-29 08:45:42 +03:00
vit9696
c7cfb84e48 OcFileLib: Reset position to 0 after reading
This resolves the crash in EfiBoot due to returning unsupported kernel
image as is from OcKernelFileOpen with position set to non-0 value in
10.4. Thx Goldfish for the discovery!
2020-06-29 07:08:32 +03:00
vit9696
ebdc3fa056 OcAppleKernelLib: Start building new Mach-O functions 2020-06-27 20:55:16 +03:00
vit9696
1e5e9fb5e9 Utilities: Add Windows binaries for BaseTools 2020-05-18 14:05:36 +03:00
vit9696
570a537fc2 Docs: Document debug tags and improve logging 2020-05-17 17:16:49 +03:00
vit9696
0bb426d364 OcAppleKernelLib: Added PatchAppleRtcChecksum kernel quirk 2020-04-18 15:40:08 +03:00
vit9696
ba97238db2 OpenCore: Validate storage path lengths 2020-03-14 01:41:13 +03:00
vit9696
28a1d57dd2 OcStorageLib: Introduce max path length 2020-03-14 01:38:08 +03:00
vit9696
6073123b79 OpenCoreKernel: Switch to SafeFileOpen 2020-02-06 00:43:28 +03:00
vit9696
abb512985d OpenCoreKernel: Implement DummyPowerManagement quirk 2020-02-02 02:22:21 +03:00
vit9696
cd65634a77 OpenCoreKernel: Implement IncreasePciBarSize support 2020-01-12 22:31:25 +03:00
vit9696
42e8f3156d OpenCoreKernel: Add support for AppleXcpmForceBoost 2020-01-12 02:27:41 +03:00
vit9696
40c42c23f0 OpenCoreKernel: Use new ThirdPartyDrives quirk instead of ThirdPartyTrim 2019-11-27 01:44:19 +03:00
vit9696
b393b0594e OpenCoreKernel: Support PowerTimeoutKernelPanic option 2019-10-17 11:43:11 +03:00
Markus Reiter
b3c3b85859 OpenCoreKernel: Refactor OcParseDarwinVersion (#18) 2019-10-11 13:02:54 +03:00
Download-Fritz
3e71e2a938 OpenCoreKernel: Fix kernel matching 2019-10-09 20:51:57 +02:00
Dhinak G
ddac66e15f OpenCoreKernel: Fix typos for MinKernel (#17)
There are missing line breaks in the strings on lines 318, 486, and 566.
On lines 313, 481 and 561, MinKernel is set to `OcParseDarwinVersion (OC_BLOB_GET (&XXX->MaxKernel))` instead of `OcParseDarwinVersion (OC_BLOB_GET (&XXX->MinKernel))`.
2019-10-09 07:25:22 +03:00
Nikolai SAOUKH
bb02ab7a1f OpenCorePkg: make explicit conversion to CHAR8 2019-09-27 11:37:15 +03:00