A pull request has been created for this patch: 
https://github.com/tianocore/edk2/pull/5691.

BRs,
Lin, Du

From: Ni, Ray <[email protected]>
Sent: Friday, May 10, 2024 10:53 AM
To: Lin, Du <[email protected]>; [email protected]
Cc: Liming Gao <[email protected]>
Subject: Re: [PATCH] MdeModulePkg: Update GCD attribute conversion to support 
SP attribute

Reviewed-by: Ray Ni <[email protected]<mailto:[email protected]>>

Thanks,
Ray
________________________________
From: Lin, Du <[email protected]<mailto:[email protected]>>
Sent: Thursday, May 9, 2024 12:04
To: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>>
Cc: Lin, Du <[email protected]<mailto:[email protected]>>; Liming Gao 
<[email protected]<mailto:[email protected]>>; Ni, Ray 
<[email protected]<mailto:[email protected]>>
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 <[email protected]<mailto:[email protected]>>
Cc: Ray Ni <[email protected]<mailto:[email protected]>>
Signed-off-by: Du Lin <[email protected]<mailto:[email protected]>>
---
 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


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#119342): https://edk2.groups.io/g/devel/message/119342
Mute This Topic: https://groups.io/mt/105995670/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to