Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 909abd7104b87986ad22e92b4cb07d30a8cca11b
      
https://github.com/tianocore/edk2/commit/909abd7104b87986ad22e92b4cb07d30a8cca11b
  Author: Oliver Smith-Denny <o...@linux.microsoft.com>
  Date:   2024-07-29 (Mon, 29 Jul 2024)

  Changed paths:
    M EmbeddedPkg/Library/NonCoherentDmaLib/NonCoherentDmaLib.c

  Log Message:
  -----------
  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 <o...@linux.microsoft.com>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to