summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg/CpuDxe
diff options
context:
space:
mode:
authorOleksiy Yakovlev <oleksiyy@ami.com>2020-07-02 16:50:38 -0400
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-07-15 14:58:25 +0000
commitc2e38a520e1e2eed0425fbb906718c69c8a8edb5 (patch)
treeb34d4d74358e89c725d9515bc4a9b683e86042f9 /UefiCpuPkg/CpuDxe
parent3bd5c994c879f78e8e3d5346dc3b627f199291aa (diff)
downloadedk2-c2e38a520e1e2eed0425fbb906718c69c8a8edb5.tar.gz
edk2-c2e38a520e1e2eed0425fbb906718c69c8a8edb5.tar.bz2
edk2-c2e38a520e1e2eed0425fbb906718c69c8a8edb5.zip
UefiCpuPkg: Update EFI_MEMORY_CACHETYPE_MASK definition
Add EFI_MEMORY_WP attribute to EFI_MEMORY_CACHETYPE_MASK definition. Signed-off-by: Oleksiy Yakovlev <oleksiyy@ami.com> Message-Id: <20200702205039.52400-4-oleksiyy@ami.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Acked-by: Eric Dong <eric.dong@intel.com> Tested-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'UefiCpuPkg/CpuDxe')
-rw-r--r--UefiCpuPkg/CpuDxe/CpuDxe.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/UefiCpuPkg/CpuDxe/CpuDxe.h b/UefiCpuPkg/CpuDxe/CpuDxe.h
index 9299eaa63d..b30a89675e 100644
--- a/UefiCpuPkg/CpuDxe/CpuDxe.h
+++ b/UefiCpuPkg/CpuDxe/CpuDxe.h
@@ -43,7 +43,8 @@
EFI_MEMORY_WC | \
EFI_MEMORY_WT | \
EFI_MEMORY_WB | \
- EFI_MEMORY_UCE \
+ EFI_MEMORY_UCE | \
+ EFI_MEMORY_WP \
)
#define EFI_MEMORY_PAGETYPE_MASK (EFI_MEMORY_RP | \