summaryrefslogtreecommitdiffstats
path: root/ArmPlatformPkg
diff options
context:
space:
mode:
authorMario Bălănică <mariobalanica02@gmail.com>2024-06-30 15:59:32 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-07-16 09:54:07 +0000
commitf9c373c8388f819166e57365197bc423d56209a6 (patch)
tree101d1d4f25f78d73b162b851f8508d94bb9789ef /ArmPlatformPkg
parent1bb9f47739ae7993191a36bea76c5a2157fdd10f (diff)
downloadedk2-f9c373c8388f819166e57365197bc423d56209a6.tar.gz
edk2-f9c373c8388f819166e57365197bc423d56209a6.tar.bz2
edk2-f9c373c8388f819166e57365197bc423d56209a6.zip
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>
Diffstat (limited to 'ArmPlatformPkg')
0 files changed, 0 insertions, 0 deletions