1090 Commits

Author SHA1 Message Date
vit9696
abb1ac7be7 Assembly: Fix nasm section commands
closes acidanthera/bugtracker#632
2020-01-08 13:52:28 +03:00
vit9696
fa38bb86fe OcRngLib: Fix invalid return value
closes acidanthera/bugtracker#633
2020-01-08 13:52:28 +03:00
vit9696
8145b2664d OcRngLib: Fix implicit boolean conversion
closes acidanthera/bugtracker#630
2020-01-08 00:33:27 +03:00
vit9696
afb48bd011 OcRngLib: Fix implicit conversion during shift
closes acidanthera/bugtracker#629
2020-01-08 00:32:00 +03:00
vit9696
b648817287 OcCryptoLib: Drop copy-pasted extra volatile 2020-01-07 01:26:36 +03:00
vit9696
50e5878e14 OcRngLib: Implement CPRNG based on ChaCha seeded via RDRAND or jitter 2020-01-07 01:21:07 +03:00
vit9696
b2f85d5114 OcCryptoLib: Implement and use SecureZeroMem 2020-01-07 01:17:42 +03:00
vit9696
0a2771b9b6 OcCryptoLib: Implement ChaCha, IETF variant, and also fix tests 2020-01-06 22:17:23 +03:00
vit9696
d0bea13d62 OcConfigurationLib: Support SMC options 2020-01-06 15:59:16 +03:00
vit9696
05a1566ce2 OcSmcLib: Initial version 2020-01-06 15:59:16 +03:00
vit9696
d4d83af268
OcOSInfoLib: Fix NULL pointer dereference 2020-01-06 02:46:55 +03:00
vit9696
3cd02f622f OcAppleBootCompatLib: Add support for SignalAppleOS and update configuration 2020-01-05 21:09:17 +03:00
vit9696
25325bf2b2 OcOSInfoLib: Initial version 2020-01-05 20:53:53 +03:00
vit9696
ef50d2940c OcConfigurationLib: Revert ReplaceableMemory as it does not work 2020-01-05 01:18:12 +03:00
vit9696
482b9dc13b OcConfigurationLib: Add SupportsCsm and ReplaceableMemory options 2020-01-05 00:01:44 +03:00
vit9696
5011ab1440 OcAppleBootCompatLib: Delay VM pool allocation to avoid compat issues
closes acidanthera/bugtracker#614
2020-01-04 22:53:16 +03:00
vit9696
7d2f5c10aa OcSmbiosLib: Fixed SMBIOS Type4 External Clock values 2020-01-04 22:43:03 +03:00
vit9696
1623ddddac OcCpuLib: Fix microcode reading once again 2020-01-04 20:24:54 +03:00
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
5a068a0b49 OcConfigurationLib: Add WriteFlash NVRAM option 2020-01-04 18:52:33 +03: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
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