2227 Commits

Author SHA1 Message Date
Download-Fritz
13c0c954cc OcMiscLib: Clean up BootOrder logging 2019-03-18 19:58:38 +01:00
Download-Fritz
6b2186abaf OcAppleKernelLib and OcDataHubLib: Security enhancements 2019-03-18 19:58:16 +01:00
Download-Fritz
94bcf6983f OcMiscLib: Deprecate ConvertDataToString 2019-03-18 19:56:44 +01:00
Download-Fritz
18314c7182 Fix several compilation warnings 2019-03-18 19:55:45 +01:00
Download-Fritz
c921ef567f OcCompressionLib: Fix LZVN prototype 2019-03-18 19:54:00 +01:00
vit9696
d735de611d Implement kernel patches 2019-03-18 13:22:34 +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
ef79203559 Fix out of memory access in OcXmlLib 2019-03-16 17:47:39 +03:00
vit9696
515f0a8f85 Implement attribute parsing in xml and add plist regenerate test 2019-03-16 16:46:48 +03:00
vit9696
9ce5f7b29d Add export to OcXmlLib 2019-03-16 14:53:24 +03:00
Rodion Shingarev
5e49f99502 corrected AddressSpaceId 2019-03-15 00:13:04 +02: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
a03b8cd0fc Disable OpenProtocol hook due to freezes on APTIO 2019-03-14 11:21:43 +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
bdbdad34df Fix byte order in OcDataHubLib system-id 2019-03-10 21:47:13 +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
37cecc397f OcAppleBootPolicyLib: Drop conflicting EFIAPI decorator 2019-03-09 17:46:27 +01:00
Download-Fritz
b6c1d6839d Remove Macros.h 2019-03-09 17:39:48 +01:00
Download-Fritz
5cafa78d4b OcMiscLib and OcSmbiosLib: Deprecate Macro.h usage 2019-03-09 17:39:07 +01:00
Download-Fritz
9c37d9640f OcVariableLib: Remove from the tree 2019-03-09 17:37:30 +01:00
Download-Fritz
bba404a40e OcMiscLib: Remove OcVariableLib usage. 2019-03-09 17:36:25 +01:00
Download-Fritz
70cf124929 OcCpuLib: Update the legacy Core Count detection to match the SDM 2019-03-09 17:33:58 +01:00
Download-Fritz
8e335e9c88 Replace BITFIELD macro with BitFieldReadXX function usage. 2019-03-09 17:33:24 +01:00
Download-Fritz
547d3d00e9 OcMiscLib: Fix signed/unsigned comparison 2019-03-09 15:28:31 +01:00
Download-Fritz
82e52f2948 OcSmbiosLib: Merge (Extended)FirmwareFeatures config entries and split for SMBIOS. 2019-03-09 15:11:35 +01:00
Download-Fritz
5f5c379c2c Fix a couple of type mismatches 2019-03-09 15:02:18 +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
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
695cd32181 Fix size calculation and assertions in OcDevicePropertyLib 2019-03-08 02:04:58 +03:00
vit9696
6db372da22 Fix several OcDevicePropertyLib issues 2019-03-08 00:39:38 +03:00
vit9696
c6e637da83 Do not use Apple-speicific original tables, they collide with other vendors 2019-03-07 18:49:00 +03:00
vit9696
46a4377935 Accuracy and compatibility fixes for OcCpuLib 2019-03-07 17:14:11 +03:00
vit9696
4acb694473 Fix mapping handling in SMBIOS 2019-03-07 02:24:06 +03:00
vit9696
44f70913a1 Fix compilation of a previous commit 2019-03-06 23:44:21 +03:00
vit9696
c419f7bc93 Remove trailing spaces from SMBIOS strings, as they cause UI glitches
In particular, About Memory window starts to repeat PartNumber multiple times
2019-03-06 23:29:06 +03:00