1067 Commits

Author SHA1 Message Date
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
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
1560cec90c OcGuardLib: Switch to edk2-stable201911 2019-11-29 17:32:17 +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
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
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
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
Download-Fritz
7b60d73018 OcBootManagementLib: Abort timeout with ESC/0 for PollAppleHotKeys=true 2019-11-03 21:33:49 +01:00
Download-Fritz
3a6863d72c OcBootManagementLib: Improve input with PollAppleHotKeys=true 2019-11-03 18:28:12 +01:00
Download-Fritz
05127da085 OcMachoLib: Add explicit casts to silence MSVC for IA32 targets 2019-11-03 16:46:35 +01:00
Download-Fritz
c5024de443 OcCpuLib: Fix uninitialised values and and CurBusRatio for AMD 2019-11-03 16:01:01 +01:00
Download-Fritz
1d2e449f56 Multiple: Fix 32-bit linking issues 2019-11-03 15:43:59 +01:00
Download-Fritz
7390f78869 OcAppleKeyMapLib: Reduce the amount of protocol calls 2019-11-03 15:43:59 +01:00
Download-Fritz
b211836f65 OcAppleKeyMapLib: Merge ExactMatch TRUE/FALSE control flows 2019-11-03 15:43:59 +01:00
Download-Fritz
e70879235e OcHashServicesLib: Runtime-verify MessageSize as it's untrusted input 2019-11-03 12:30:18 +01:00
Download-Fritz
156262a979 OcAppleBootCompatLib: Do not truncate physical addresses 2019-11-03 12:29:57 +01:00
Download-Fritz
4a023f0817 TestsUser: Fix DEBUG_BULK_INFO usage 2019-11-03 12:22:06 +01:00
Download-Fritz
21371a5ffb OcMemoryLib: Update AllocatePagesFromTop's spec and conformance 2019-11-03 11:58:20 +01:00
vit9696
ce0068c11b OcAppleBootCompatLib: Fix infinite loop 2019-11-03 13:16:01 +03:00
vit9696
601d11c1de OcMemoryLib: Fix GetCurrentMemoryMapAlloc implementation 2019-11-03 13:14:20 +03:00
vit9696
937c45501c OcBootManagementLib: Fix interpreting letters in boot menu 2019-11-03 01:51:51 +03:00
Download-Fritz
156cb7c586 Various type and cast fixes 2019-11-02 23:16:33 +01:00