Lin:
I see there is some discussion. Have you made the agreement with this change?
Thanks
Liming
发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Du Lin
发送时间: 2024年5月29日 21:05
收件人: devel@edk2.groups.io
抄送: Liming Gao <gaoliming@byosoft.com.cn>; Ni, Ray <ray.ni@intel.com>; Lin, Du <du.lin@intel.com>
主题: Re: [edk2-devel] [PATCH] MdeModulePkg: Update GCD attribute conversion to support SP attribute
A pull request has been created for this patch: https://github.com/tianocore/edk2/pull/5691.
BRs,
Lin, Du
From: Ni, Ray <ray.ni@intel.com>
Sent: Friday, May 10, 2024 10:53 AM
To: Lin, Du <du.lin@intel.com>; devel@edk2.groups.io
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Subject: Re: [PATCH] MdeModulePkg: Update GCD attribute conversion to support SP attribute
Reviewed-by: Ray Ni <ray.ni@intel.com>
Thanks,
Ray
From: Lin, Du <du.lin@intel.com>
Sent: Thursday, May 9, 2024 12:04
To: devel@edk2.groups.io <devel@edk2.groups.io>
Cc: Lin, Du <du.lin@intel.com>; Liming Gao <gaoliming@byosoft.com.cn>; Ni, Ray <ray.ni@intel.com>
Subject: [PATCH] MdeModulePkg: Update GCD attribute conversion to support SP attribute
Add a new entry into GCD attribute conversion table to convert
EFI_RESOURCE_ATTRIBUTE_SPECIAL_PURPOSE to EFI_MEMORY_SP.
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Du Lin <du.lin@intel.com>
---
MdeModulePkg/Core/Dxe/Gcd/Gcd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/MdeModulePkg/Core/Dxe/Gcd/Gcd.c b/MdeModulePkg/Core/Dxe/Gcd/Gcd.c
index fe1bbd6974..99364508cd 100644
--- a/MdeModulePkg/Core/Dxe/Gcd/Gcd.c
+++ b/MdeModulePkg/Core/Dxe/Gcd/Gcd.c
@@ -92,6 +92,7 @@ GCD_ATTRIBUTE_CONVERSION_ENTRY mAttributeConversionTable[] = {
{ EFI_RESOURCE_ATTRIBUTE_TESTED, EFI_MEMORY_TESTED, FALSE },
{ EFI_RESOURCE_ATTRIBUTE_PERSISTABLE, EFI_MEMORY_NV, TRUE },
{ EFI_RESOURCE_ATTRIBUTE_MORE_RELIABLE, EFI_MEMORY_MORE_RELIABLE, TRUE },
+ { EFI_RESOURCE_ATTRIBUTE_SPECIAL_PURPOSE, EFI_MEMORY_SP, TRUE },
{ 0, 0, FALSE }
};
--
2.44.0.windows.1