diff options
author | Oliver Smith-Denny <osde@linux.microsoft.com> | 2024-07-29 09:29:14 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-07-29 22:42:41 +0000 |
commit | 909abd7104b87986ad22e92b4cb07d30a8cca11b (patch) | |
tree | 99c0688de11f1d6fe40a3ec7fbea31e3f2325cc7 /DuetPkg/LegacyMetronome | |
parent | be1d408773504df8b95a2a81be7b558276ba5356 (diff) | |
download | edk2-909abd7104b87986ad22e92b4cb07d30a8cca11b.zip edk2-909abd7104b87986ad22e92b4cb07d30a8cca11b.tar.gz edk2-909abd7104b87986ad22e92b4cb07d30a8cca11b.tar.bz2 |
EmbeddedPkg: NonCoherentDmaLib: Set EFI_MEMORY_XP Capability on DMA Buffer
Commit 8984fba2f22a2cd44e1189403e3553f447b82852 added setting the
EFI_MEMORY_XP attribute on DMA buffers. However, it did not ensure
that the XP capability was set on that region.
This patch adds setting the XP capability before attempting to set
the attribute. If setting the capability fails, it defaults to the
old behavior of not setting the XP bit.
Signed-off-by: Oliver Smith-Denny <osde@linux.microsoft.com>
Diffstat (limited to 'DuetPkg/LegacyMetronome')
0 files changed, 0 insertions, 0 deletions