109 Commits

Author SHA1 Message Date
Download-Fritz
0ce7e1ec99 OcMachoLib: Update GetSymbolByRelocOffset interface to report Relocation existance. 2019-03-23 11:51:15 +01: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
30fb879941 Add internal symbol table stubs 2019-03-20 16:07:18 +03:00
vit9696
dcbb94fa5c Cache discovered kexts and implement PRELINKED_KEXT structure 2019-03-20 00:54:51 +03:00
vit9696
cba5bac94a Start importing prelinker 2019-03-19 22:31:15 +03:00
vit9696
a9b3b67c63 Implement load and kmod address calculation in kext inject 2019-03-19 21:34:15 +03:00
Download-Fritz
94bcf6983f OcMiscLib: Deprecate ConvertDataToString 2019-03-18 19:56:44 +01:00
Download-Fritz
c921ef567f OcCompressionLib: Fix LZVN prototype 2019-03-18 19:54:00 +01: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
9ce5f7b29d Add export to OcXmlLib 2019-03-16 14:53:24 +03:00
vit9696
a0f92c55d9 Implement FADT reset register enabling patch 2019-03-14 23:03:06 +03:00
vit9696
eb6b186fee Implement kernel interception code 2019-03-14 00:30:00 +03:00
vit9696
1a505b7f23 Implement OcCompressionLib 2019-03-13 19:57:15 +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
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
82e52f2948 OcSmbiosLib: Merge (Extended)FirmwareFeatures config entries and split for SMBIOS. 2019-03-09 15:11:35 +01:00
Download-Fritz
1bf2915bf3 OcTemplateLib: Use __VA_ARGS__ indirection to prevent premature evalutaion by MSVC 2019-03-09 15:01:30 +01:00
vit9696
29354b8f62 Fix DSDT injection and implement region relocation, thx Clover 2019-03-09 06:15:53 +03:00
vit9696
02bf038446 Implement DSDT loading 2019-03-09 04:30:16 +03:00
vit9696
146e240524 Implement binary patching in OcAcpiLib 2019-03-09 03:35:37 +03:00
vit9696
cce17e841b Start working on OcAcpiLib 2019-03-09 01:57:11 +03:00
vit9696
46a4377935 Accuracy and compatibility fixes for OcCpuLib 2019-03-07 17:14:11 +03:00
vit9696
e17a0689be Support different update modes in SMBIOS and fix minor issues 2019-03-05 23:47:38 +03:00
vit9696
a8d07657ab Import userspace tests 2019-03-05 17:02:05 +03:00
vit9696
27eb6080ba Start refactoring SMBIOS 2019-03-01 20:07:50 +03:00
vit9696
377c4fa6e5 OcCpuLib improvements and compilation fixes 2019-02-28 22:43:41 +03:00
vit9696
4ad7a1c7f9 Rename Base64Decode to OcBase64Decode and fix its prototype to be close to EDK2 for later migration 2019-02-21 13:48:18 +03:00
vit9696
1672d8fbe6 Add AppleMajorType to CPU_INFO 2019-02-07 15:46:45 +03:00
vit9696
8ea219ed68 Initial import of SMBIOS code from OC 2019-02-03 13:43:47 +03:00
vit9696
b13c2a493e Partially fix APFS recovery detection 2019-01-24 22:41:38 +03:00
vit9696
5e3dc3c6df Refactor OcAppleChunklistLib and fix out of bounds memory access in it 2019-01-20 22:40:42 +03:00
vit9696
8e252e9831 1. Redesign OcFileLib (and drop currently unneeded interfaces for the time being)
2. Add OcDescribeBootEntry to OcAppleBootPolicyLib to parse boot entry name
2019-01-20 20:14:00 +03:00
Goldfish64
29dbbcc313 Add OcAppleChunklistLib 2019-01-19 15:06:38 -06:00
vit9696
a471bd6c61 Late touches on OcMachoLib 2019-01-17 10:01:26 +03:00
vit9696
caabf0b2ab Continue fixing and refactoring OcMachoLib 2019-01-16 17:46:10 +03:00
vit9696
aca4a620ac Fix sanity of symbol retrieval code 2019-01-16 13:15:22 +03:00
vit9696
69f441b5ec Restore OcMachoLib interfaces for convenience resons 2019-01-15 23:34:01 +03:00
vit9696
a43cb1386e Start cleaning up OcMachoLib 2019-01-15 18:23:29 +03:00
vit9696
4c956d41d7 Better document OcXmlLib 2019-01-13 09:15:12 +03:00