Re: [PATCH V3 3/4] UefiCpuPkg: Update EFI_MEMORY_CACHETYPE_MASK definition


Dong, Eric
 

Sorry, I missed this patch serial.

Acked-by: Eric Dong <eric.dong@...>

-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Oleksiy
Yakovlev
Sent: Friday, July 3, 2020 4:51 AM
To: devel@edk2.groups.io
Cc: Gao, Liming <liming.gao@...>; Kinney, Michael D
<michael.d.kinney@...>; Bi, Dandan <dandan.bi@...>; Ni, Ray
<ray.ni@...>; lersek@...; Kumar, Rahul1
<rahul1.kumar@...>; Felixp@...; oleksiyy@...
Subject: [edk2-devel] [PATCH V3 3/4] UefiCpuPkg: Update
EFI_MEMORY_CACHETYPE_MASK definition

Add EFI_MEMORY_WP attribute to
EFI_MEMORY_CACHETYPE_MASK definition.

Signed-off-by: Oleksiy Yakovlev <oleksiyy@...>
---
UefiCpuPkg/CpuDxe/CpuDxe.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/UefiCpuPkg/CpuDxe/CpuDxe.h b/UefiCpuPkg/CpuDxe/CpuDxe.h
index 9299eaa..b30a896 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 | \
--
2.9.0.windows.1


Please consider the environment before printing this email.

The information contained in this message may be confidential and
proprietary to American Megatrends (AMI). This communication is intended
to be read only by the individual or entity to whom it is addressed or by their
designee. If the reader of this message is not the intended recipient, you are
on notice that any distribution of this message, in any form, is strictly
prohibited. Please promptly notify the sender by reply e-mail or by
telephone at 770-246-8600, and then delete or destroy all copies of the
transmission.

Join devel@edk2.groups.io to automatically receive all group messages.