audk/EmbeddedPkg/Drivers
Mario Bălănică f9c373c838 EmbeddedPkg: Add option to disable EFI Memory Attribute Protocol
Introduce a driver that allows users to disable the EFI Memory Attribute
protocol through an HII setup option, in order to work around a broken
version of rhboot's shim used in some distros (e.g. CentOS Stream 9)
which incorrectly invokes the protocol and results in a Synchronous
Exception.

Default is enabled, which can also be overridden at build time by
changing `gEmbeddedTokenSpaceGuid.PcdMemoryAttributeEnabledDefault`.

It is only applicable to ARM64 and there isn't any other technical
reason for disabling this security feature.

See:
- https://github.com/microsoft/mu_silicon_arm_tiano/issues/124
- https://edk2.groups.io/g/devel/topic/99631663
- https://github.com/tianocore/edk2/pull/5840

Signed-off-by: Mario Bălănică <mariobalanica02@gmail.com>
2024-07-16 09:54:07 +00:00
..
AndroidFastbootTransportTcpDxe EmbeddedPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
AndroidFastbootTransportUsbDxe EmbeddedPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
ConsolePrefDxe EmbeddedPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
DtPlatformDxe EmbeddedPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
FdtClientDxe EmbeddedPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
MemoryAttributeManagerDxe EmbeddedPkg: Add option to disable EFI Memory Attribute Protocol 2024-07-16 09:54:07 +00:00
NonCoherentIoMmuDxe EmbeddedPkg/NonCoherentIoMmuDxe: Make SetAttributes always succeed 2024-03-12 17:39:01 +00:00
VirtualKeyboardDxe EmbeddedPkg: Update the comments of ReadKeyStroke and ReadKeyStrokeEx 2024-04-03 10:25:06 +08:00