summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg/CpuDxe/CpuDxe.h
diff options
context:
space:
mode:
authorOleksiy Yakovlev <oleksiyy@ami.com>2020-07-02 16:50:39 -0400
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-07-15 14:58:25 +0000
commite77966b341b993291ab2d95718b88a6a0d703d0c (patch)
tree7998a721d35d10af56ae32d2c5aa3ddcafc96f9e /UefiCpuPkg/CpuDxe/CpuDxe.h
parentc2e38a520e1e2eed0425fbb906718c69c8a8edb5 (diff)
downloadedk2-e77966b341b993291ab2d95718b88a6a0d703d0c.tar.gz
edk2-e77966b341b993291ab2d95718b88a6a0d703d0c.tar.bz2
edk2-e77966b341b993291ab2d95718b88a6a0d703d0c.zip
UefiCpuPkg: Add New Memory Attributes
Add usage of EFI_MEMORY_SP and EFI_MEMORY_CPU_CRYPTO attributes introduced in UEFI 2.8. (UEFI 2.8, mantis 1919 and 1872). Use attributes bitmasks, defined in MdePkg. Signed-off-by: Oleksiy Yakovlev <oleksiyy@ami.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Message-Id: <20200702205039.52400-5-oleksiyy@ami.com> Reviewed-by: Eric Dong <eric.dong@intel.com> Tested-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'UefiCpuPkg/CpuDxe/CpuDxe.h')
-rw-r--r--UefiCpuPkg/CpuDxe/CpuDxe.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/UefiCpuPkg/CpuDxe/CpuDxe.h b/UefiCpuPkg/CpuDxe/CpuDxe.h
index b30a89675e..9771ec8336 100644
--- a/UefiCpuPkg/CpuDxe/CpuDxe.h
+++ b/UefiCpuPkg/CpuDxe/CpuDxe.h
@@ -39,19 +39,6 @@
#include <Guid/IdleLoopEvent.h>
#include <Guid/VectorHandoffTable.h>
-#define EFI_MEMORY_CACHETYPE_MASK (EFI_MEMORY_UC | \
- EFI_MEMORY_WC | \
- EFI_MEMORY_WT | \
- EFI_MEMORY_WB | \
- EFI_MEMORY_UCE | \
- EFI_MEMORY_WP \
- )
-
-#define EFI_MEMORY_PAGETYPE_MASK (EFI_MEMORY_RP | \
- EFI_MEMORY_XP | \
- EFI_MEMORY_RO \
- )
-
#define HEAP_GUARD_NONSTOP_MODE \
((PcdGet8 (PcdHeapGuardPropertyMask) & (BIT6|BIT4|BIT1|BIT0)) > BIT6)