41 Commits

Author SHA1 Message Date
Michael Belyaev
d7e47bed07
Docs: Fix Doxygen comments (#46) 2020-05-05 22:46:14 +03:00
vit9696
3ec848da3d Build: Replace RETURN_ macros with EFI_ 2020-04-18 15:55:05 +03:00
vit9696
0bb426d364 OcAppleKernelLib: Added PatchAppleRtcChecksum kernel quirk 2020-04-18 15:40:08 +03:00
Download-Fritz
079070a29f Fix several issues (Coverity, Clang) 2020-04-07 17:44:21 +02:00
vit9696
462a831d02 OcAppleKernelLib: Implement DummyPowerManagement quirk 2020-02-02 02:21:37 +03:00
vit9696
7b30612be8 OcAppleKernelLib: Implement IncreasePciBarSize quirk 2020-01-12 22:18:59 +03:00
vit9696
68f466d7f1 OcAppleKernelLib: Initial version of AppleXcpmForceBoost 2020-01-12 01:36:17 +03:00
vit9696
d33c448213 OcAppleKernelLib: Add AHCI hibernation patches for 10.15, thx @lvs1974 2019-11-27 01:43:35 +03:00
vit9696
5e0f400c69 OcAppleKernelLib: Add PowerTimeoutKernelPanic option 2019-10-17 11:42:28 +03:00
vit9696
992589931a OcAppleKernelLib: Add patcher comments and enable them for common patches 2019-08-31 22:33:09 +03:00
vit9696
2366b81f50 OcAppleKernelLib: Extra MSR patches for XCPM 2019-06-08 22:50:09 +03:00
vit9696
3e1b62fedf OcAppleKernelLib: Implement LapicKernelPanic patch for modern release kernels 2019-06-08 22:43:20 +03:00
vit9696
816280a71d OcAppleKernelLib: Implement PanicNoKextDump quirk 2019-06-08 00:13:24 +03:00
vit9696
34f14412bb Added CustomSMBIOSGuid quirk for Custom SMBIOS update mode 2019-06-07 22:15:41 +03:00
vit9696
09010ff59f OcAppleKernelLib: Prepare emulating CPUID interface patch 2019-06-07 16:46:07 +03:00
vit9696
91a12f3588 OcAppleKernelLib: Implement DisableIoMapper quirk 2019-06-04 18:02:15 +03:00
vit9696
1fd900012d OcAppleKernelLib: Debug assert on select invalid kexts 2019-04-21 15:21:16 +03:00
vit9696
e9fd65995c OcAppleKernelLib: Implement AppleXcpmCfgLock kernel quirk 2019-04-10 16:28:01 +03:00
vit9696
b8910ad67d OcConfigurationLib: Fix kernel entry parsing and rename KernelSpace to Kernel 2019-04-06 21:06:31 +03:00
vit9696
7be8acbbe8 Patches: Implement patch limit concept in OcAcpiLib and OcAppleKernelLib 2019-04-06 17:49:27 +03:00
Download-Fritz
aa490fa0e3 OcAppleKernelLib: Cosmetical changes. 2019-04-05 21:04:05 +02:00
Michael Belyaev
c0f9d1b9b7 Fix documentation comment 2019-04-02 18:37:00 +03:00
vit9696
b760f92fdb AppleKernelLib: Fix x86_64 OSBundleLibraries parsing and increase dependency limit 2019-03-26 22:13:20 +03:00
vit9696
0badcb3cb4 OcAppleKernelLib: Cleanup kext patching code 2019-03-25 20:09:55 +03:00
vit9696
e169a7aa7e Ensure 1:1 disk:vm mach-o matching requirement during kext inject 2019-03-24 01:50:57 +03:00
vit9696
978714ae1d Link with the kernel directly for speed reasons
Otherwise we would need to solve KPI symbols first.
2019-03-23 15:05:12 +03:00
Download-Fritz
253d0b6284 OcAppleKernelLib: Implement VTable logic. 2019-03-23 15:05:12 +03:00
vit9696
9be9d50677 Implement support for linking on injected kext and fix minor issues 2019-03-23 15:05:12 +03:00
Download-Fritz
6ed3156eea Import prelinker trash 2019-03-23 15:05:12 +03:00
Michael Belyaev
43cffc0a49 Move patches into CommonPatches.c 2019-03-22 14:18:32 +03:00
Michael Belyaev
d59b78fad4 Add AppleIntelCPUPowerManagement patches 2019-03-21 20:03:59 +03:00
vit9696
dcbb94fa5c Cache discovered kexts and implement PRELINKED_KEXT structure 2019-03-20 00:54:51 +03:00
vit9696
a9b3b67c63 Implement load and kmod address calculation in kext inject 2019-03-19 21:34:15 +03:00
vit9696
e867f4dcd1 Implement blocking kext from loading 2019-03-18 10:11:07 +03:00
vit9696
b05b5a66d1 Implement kext patcher with symbolic resolver in OcAppleKernelLib
1. Add support for parsing ID/IDREF in OcXmlLib.
2. Add support for parsing hex numbers in OcXmlLib.
3. Fix buggy MachoSymbolGetFileOffset64 mishandling section numbers.
2019-03-18 00:57:20 +03:00
vit9696
44315e1659 Add more stubs for kext injection with executables 2019-03-17 19:19:56 +03:00
vit9696
92aa15f02a Report valid ModificationTime in prelinked hook in KernelTest
This is important for 10.9, where boot.efi checks that the ModificationTime
matches either /S/L/E or /mach_kernel (whichever is newer).
2019-03-17 16:56:10 +03:00
vit9696
0484a1c893 Simplify resource management in OcAppleKernelLib 2019-03-17 13:54:12 +03:00
vit9696
738932d5b6 Implement plist-only kext injection 2019-03-16 23:32:17 +03:00
vit9696
58d75a200a Implement prelinkedkernel plist replacement support 2019-03-16 22:02:04 +03:00
vit9696
eb6b186fee Implement kernel interception code 2019-03-14 00:30:00 +03:00