1193 Commits

Author SHA1 Message Date
vit9696
11b2648cc2 OcCpuLib: Print MicrocodeRevision in the log 2020-01-04 19:59:41 +03:00
vit9696
52a5ae916f OcCpuLib: Read microcode revision in assembly to comply with Intel SDM
closes acidanthera/bugtracker#621
2020-01-04 19:28:11 +03:00
vit9696
00ae40a468 FwRuntimeServices: Move from AppleSupportPkg 2020-01-04 19:04:14 +03:00
vit9696
5a068a0b49 OcConfigurationLib: Add WriteFlash NVRAM option 2020-01-04 18:52:33 +03:00
Download-Fritz
96db531ad8 TestsUser/Prelinked: Error-exit when preparation fails 2019-12-11 17:58:22 +01:00
Download-Fritz
7aa2ae893d OcAppleImg4Lib: Remove unreachable code
Fixes https://github.com/acidanthera/bugtracker/issues/603
2019-12-11 17:58:05 +01:00
vit9696
d07e81ec63 OcBootManagementLib: Accept Enter as choose default in boot menu
closes acidanthera/bugtracker#594
2019-12-10 15:25:59 +03:00
vit9696
7eb9bb22c0 OcXmlLib: Increase reference limits for 10,6 kernelcache compatibility 2019-12-01 00:26:40 +03:00
vit9696
d34c3498b6 TestsUser: Fix compilation by introducing STATIC_ASSERT 2019-11-30 23:52:16 +03:00
Download-Fritz
be4f601d9e OcGuardLib: Use STATIC_ASSERT over typedef hacks 2019-11-30 15:33:57 +01:00
Download-Fritz
469cc6ef33 OcCryptoLib: Fix type cast warnings 2019-11-30 13:58:18 +01:00
Download-Fritz
80dc6eba61 OcGuidLib: Unify unsigned additions to same-width checks 2019-11-30 13:57:25 +01:00
Download-Fritz
edecf7e6e0 TestsUser/Base.h: Introduce NDEBUG macro 2019-11-30 13:54:19 +01:00
Download-Fritz
16242b756f OcAppleBootCompatLib: Add missing log new line 2019-11-30 13:52:13 +01:00
Download-Fritz
14f3f748a8 OcAppleImageVerificationLib: Fix a memory leak 2019-11-30 13:43:13 +01:00
Download-Fritz
2cac6fd25f OcAppleImageVerification: Fix function prototype
A callee should never free caller data for design reasons. Return the caller parameter in the future if it is ever required for any other API.
2019-11-30 13:43:13 +01:00
vit9696
268ae1b544 OcAppleBootCompatLib: Revert accidentally committed test code 2019-11-29 21:56:32 +03:00
vit9696
e8640a4dc7 OcFirmwareRuntime: Bump revision as we changed compatibility 2019-11-29 17:41:26 +03:00
vit9696
1560cec90c OcGuardLib: Switch to edk2-stable201911 2019-11-29 17:32:17 +03:00
vit9696
5284ab58fc Tests: Fix KernelTest compilation
closes acidanthera/bugtracker#587
2019-11-29 17:31:28 +03:00
crazyi
87b3689c5d OcCpuLib: Add Intel Xeon E5 (Broadwell-EP) support 2019-11-28 12:15:15 +03:00
vit9696
d33c448213 OcAppleKernelLib: Add AHCI hibernation patches for 10.15, thx @lvs1974 2019-11-27 01:43:35 +03:00
vit9696
707f101e9a OcConfigurationLib: Add support for RequestBootVarFallback quirk 2019-11-19 12:35:05 +03:00
vit9696
73bc29b75f OcFirmwareRuntime: Extent with fallback var 2019-11-19 01:02:03 +03:00
Nikolai SAOUKH
394a8fa2dc OcSupportPkg: avoid small integer to pointer cases
Yet code looks bizzare

Do we need to import another implementaion?
2019-11-15 19:33:16 +03:00
Download-Fritz
04f1a4e587 OcAppleImageVerificationLib: Drop IPF support 2019-11-13 09:42:14 +01:00
Download-Fritz
2ceee875bf OcAppleImageVerificationLib: Fix potential memory corruption
The reallocated pointer is not returned and thus lost locally (leak). Because ReallocatePool frees the old buffer on success, the caller pointers are unsafe after calling this function (potential corruption). Because the rest of the buffer is zero'd right before, there should be no security concern keeping the current buffer.
2019-11-13 09:39:09 +01:00
Download-Fritz
3e9ef5ac41 OcCryptoLib: Import changes missed in f18ec0022b 2019-11-11 22:28:14 +01:00
Download-Fritz
1c7b5ed322 TestsUser/Base.h: Ignore pedantic Clang warnings 2019-11-11 22:24:21 +01:00
Download-Fritz
f18ec0022b OcCryptoLib: Import new BN mod algorithm. Deprecate former support functions. 2019-11-11 22:24:21 +01:00
Download-Fritz
ca949104a6 OcCryptoLib: Fix potential deadlock 2019-11-11 22:24:21 +01:00
Nikolai SAOUKH
d4d85dc764 zlib: Our runtime is not in ms windows world any more 2019-11-10 18:45:32 +03:00
Alex James
63109a3349 RsaTool: Fix OpenSSL 1.0.x compatibility (#20)
RSA_get0_key/RSA_set0_key were introduced with OpenSSL 1.1.0, not 1.0.1.
2019-11-09 07:20:38 +01:00
Download-Fritz
bed56a5307 OcConfigurationLib: Fix typo 2019-11-06 21:55:44 +01:00
Download-Fritz
b60eb719da OcConfigurationLib: Import UnblockFsConnect quirk 2019-11-06 20:00:57 +01:00
Download-Fritz
c588365359 OcFileLib: Import FS connect quirk API 2019-11-06 19:47:19 +01:00
Download-Fritz
aece54d878 OcCryptoLib: Fix MSVC build and type consistency 2019-11-06 19:47:14 +01:00
Download-Fritz
be8d3b3b25 OcAppleImg4Lib: Enable full building 2019-11-06 19:47:07 +01:00
Download-Fritz
410d10d3fc
OcCryptoLib: Import new RSA stack
Import a new RSA stack and test utilities to support IMG4 image verification.
2019-11-06 19:26:45 +01:00
vit9696
70fe07f83a OcBootManagementLib: Disable experimental ballooning allocation
Currently this feature does not seem to be benefitial, as on low memory
machines it prevents booting from recovery by allocating too much memory
instead of actually improving the situation. Perhaps this feature is to
be removed in the future.
2019-11-04 20:39:44 +03:00
vit9696
af3b167177 OcAppleBootCompatLib: Added free memory debugging 2019-11-04 20:10:15 +03:00
Download-Fritz
53ea852bc3 OcAppleKernelLib: Support trailing exec-less kexts 2019-11-04 17:09:52 +01:00
vit9696
4421b5a758 OcBootManagementLib: Debug restyle 2019-11-04 18:51:48 +03:00
vit9696
896523be1d OcAppleRamDiskLib: Fix error handling 2019-11-04 18:08:18 +03:00
vit9696
f1143c83f1 OcAppleDiskImageLib: Improve debugging 2019-11-04 15:46:09 +03:00
vit9696
d4903793e2 OcAppleBootCompatLib: Fix slide for AvoidHighAlloc 2019-11-04 15:46:09 +03:00
vit9696
2ba7618f23 OcAppleBootCompatLib: Initial balloon implementation 2019-11-04 15:46:09 +03:00
vit9696
e9da01e7fa OcBootManagementLib: Implement ballooning stubs 2019-11-04 15:46:09 +03:00
Download-Fritz
023e40f603 OcAppleRamDiskLib: Fix potential OOB operations and LoadFile result 2019-11-04 11:19:01 +01:00
Download-Fritz
120c806604 OcBootManagementLib: Fix key polling issue with PollAppleHotKeys=true 2019-11-03 21:34:36 +01:00