56 Commits

Author SHA1 Message Date
vit9696
ef5c3427e5 OcAcpiLib: Add drop all tables 2019-04-18 23:28:20 +03:00
vit9696
77243d99bb BlessTest: Fix compilation 2019-04-17 13:52:42 +03:00
vit9696
aa10483ce8 OcConfigurationLib: Allow reinstalling apple boot policy protocol 2019-04-16 21:54:40 +03:00
vit9696
3a3955d83c OcBootManagementLib: Skip self entry 2019-04-12 08:51:39 +03:00
vit9696
fb9216234f KernelTest: Fix compilation 2019-04-10 16:38:34 +03:00
vit9696
6a23fe6aa6 OcDevicePropertyLib: Rework installation interface 2019-04-07 00:27:11 +03:00
Download-Fritz
faf7976d33 Retire OcProtocolLib, move UninstallAllProtocols function to OcMiscLib 2019-04-06 13:09:13 +02:00
vit9696
aeb2b324fe OcBootManagementLib: Add support for detecting bootcamp 2019-04-06 13:45:32 +03:00
vit9696
f699359d71 OcAppleBootPolicyLib: Separate from OcAppleBootPolicyLib 2019-04-03 21:57:56 +03:00
vit9696
ebf3a4ecbf OcAppleBootPolicyLib: Fix recovery image flags and add OcLoadBootEntry stub 2019-04-01 00:51:38 +03:00
vit9696
65dad1e128 OcAppleBootPolicyLib: Implement simple boot picker 2019-03-31 21:43:47 +03:00
vit9696
8255f23ff0 OcAppleKernelLib: Tune based on profiling data 2019-03-29 01:24:04 +03:00
vit9696
adc7eebb32 Tests/KernelTest: Print reservation size for injected kexts 2019-03-28 20:19:12 +03:00
vit9696
cc33e6949b OcVirtualFsLib: Handle edge case when EFI_FILE_PROTOCOL instance mismatches the caller 2019-03-28 17:39:07 +03:00
vit9696
6bb2e4b46f OcAppleKernelLib: Improve fuzzing compatibility 2019-03-27 16:37:47 +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
43ecade607 Try more harsh kernel injection testing 2019-03-23 15:05:13 +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
b7734fc3d5 Fix FSBFrequency and thread count detection on Penryn 2019-03-20 23:29:46 +03:00
vit9696
dcbb94fa5c Cache discovered kexts and implement PRELINKED_KEXT structure 2019-03-20 00:54:51 +03:00
vit9696
d735de611d Implement kernel patches 2019-03-18 13:22:34 +03:00
Michael Belyaev
5adf1bf898
Update KernelTest.c 2019-03-18 12:41:57 +03:00
vit9696
e867f4dcd1 Implement blocking kext from loading 2019-03-18 10:11:07 +03:00
vit9696
9b692981c8 Add usb port limit patch example to KernelTest 2019-03-18 07:47:49 +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
1818c06e9a Add forgotten prelink size update after injection 2019-03-17 19:36:25 +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
515f0a8f85 Implement attribute parsing in xml and add plist regenerate test 2019-03-16 16:46:48 +03:00
vit9696
a0f92c55d9 Implement FADT reset register enabling patch 2019-03-14 23:03:06 +03:00
vit9696
6f58bf2be4 Fix ReadFileSize not returning size 2019-03-14 12:07:35 +03:00
vit9696
eb6b186fee Implement kernel interception code 2019-03-14 00:30:00 +03:00
vit9696
5420e23d98 Fix typo in flex ratio quirk 2019-03-13 15:17:02 +03:00
vit9696
0aa75e80dd Implement flex ratio quirk 2019-03-13 14:20:52 +03:00
vit9696
da708a8427 Implement virtual fs support 2019-03-13 02:22:28 +03:00
vit9696
30afe408eb Disable WatchDog timer in DataHubTest 2019-03-12 17:26:10 +03:00
vit9696
d1a62d99f9 Temporarily put GOP hack to DataHubTest 2019-03-12 14:08:47 +03:00
vit9696
60bce8975f Add some nvram variables to DataHubTest 2019-03-11 02:06:57 +03:00
vit9696
65f3116faa Fix StartupPowerEvents type in OcDataHubLib 2019-03-10 18:05:01 +03:00
vit9696
ca6088d1f8 Implement OcDataHubLib 2019-03-10 16:53:21 +03:00
vit9696
35222181d9 Unify SMBIOS fields and fix user test compilation 2019-03-10 13:11:37 +03:00
Download-Fritz
9c37d9640f OcVariableLib: Remove from the tree 2019-03-09 17:37:30 +01:00
Download-Fritz
82e52f2948 OcSmbiosLib: Merge (Extended)FirmwareFeatures config entries and split for SMBIOS. 2019-03-09 15:11:35 +01:00
vit9696
44af121919 Implement header normalization 2019-03-09 07:16:19 +03:00
vit9696
29354b8f62 Fix DSDT injection and implement region relocation, thx Clover 2019-03-09 06:15:53 +03:00