11 Commits

Author SHA1 Message Date
Savva Mitrofanov
b2d438d6f3 Switch OcGuardLib to BaseOverflowLib 2023-04-13 13:16:14 +06:00
PMheart
228f8ca1fb Codestyle: Apply codestyle changes with Uncrustify 2022-04-25 14:51:15 +02:00
Alex James
c466fbc0f0
OcMemoryLib: Avoid rebuilding attributes when MAT is empty (#304)
Some firmware implementations may provide an empty Memory Attributes
Table (NumberOfEntries is zero). Avoid calling OcUpdateDescriptors in
this case, as it will lead to division by zero.

This resolves boot failures due to #DE on XPS 15 9560 when Secure Boot
is enabled.
2021-12-05 12:37:11 +03:00
dakanji
d9cc30567c
Library: Firmware pluralisation fixes in the code (#136) 2020-10-13 01:42:59 +03:00
vit9696
399f05c361
OcMemoryLib: Fix MAT processing for SyncRuntimePermissions (#100)
closes acidanthera/bugtracker#1096
2020-08-16 00:33:30 +03:00
vit9696
50abfc2f28 OcMemoryLib: Fix typo 2020-07-17 02:39:44 +03:00
vit9696
7aedbf3c60 OcMemoryLib: Actually fix OcExpandAttributesByMap 2020-04-04 23:18:05 +03:00
vit9696
4e18dfc7dd OcMemoryLib: Try fixing unused BIN handling in OcExpandAttributesByMap 2020-04-04 21:49:06 +03:00
vit9696
6b822bc72c OcMemoryLib: Handle appending entries from MMAP to MAT end 2020-04-04 19:59:13 +03:00
vit9696
dfe685d80b OcMemoryLib: Implement attribute expansion via mmap 2020-04-04 18:10:11 +03:00
vit9696
ab57d6f1b8 OcMemoryLib: Implement MAT deduplication and watch out on recursion 2020-04-04 16:56:05 +03:00