audk/EmbeddedPkg/Library/NonCoherentDmaLib
Oliver Smith-Denny 909abd7104 EmbeddedPkg: NonCoherentDmaLib: Set EFI_MEMORY_XP Capability on DMA Buffer
Commit 8984fba2f2 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>
2024-07-29 22:42:41 +00:00
..
NonCoherentDmaLib.c EmbeddedPkg: NonCoherentDmaLib: Set EFI_MEMORY_XP Capability on DMA Buffer 2024-07-29 22:42:41 +00:00
NonCoherentDmaLib.inf EmbeddedPkg/NonCoherentDmaLib: implement support for DMA range limits 2019-12-06 14:55:45 +00:00