Add gPerformanceProtocolGuid in BdsDxe.inf explicitly.
Currently, BdsDxe could build pass as it inherits
gPerformanceProtocolGuid from GenericBdsLib.inf.

Also update the usage of gPerformanceProtocolGuid in GenericBdsLib.inf.

Cc: Liming Gao <liming....@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.z...@intel.com>
---
 IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf | 2 +-
 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf             | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf 
b/IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
index 5a138a9169b3..9d879c20e1fe 100644
--- a/IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
+++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
@@ -96,7 +96,7 @@ [Guids]
   ## SOMETIMES_PRODUCES ## Variable:L"BootNext"    # The number of next boot 
option
   gEfiGlobalVariableGuid
   gEfiFileInfoGuid                              ## SOMETIMES_CONSUMES ## GUID
-  gPerformanceProtocolGuid                      ## SOMETIMES_PRODUCES ## 
Variable:L"PerfDataMemAddr" # The ACPI address of performance data
+  gPerformanceProtocolGuid                      ## SOMETIMES_CONSUMES ## 
Variable:L"PerfDataMemAddr" # The ACPI address of performance data
   gLastEnumLangGuid                             ## SOMETIMES_PRODUCES ## 
Variable:L"LastEnumLang" # Platform language at last time enumeration.
   gHdBootDevicePathVariablGuid                  ## SOMETIMES_PRODUCES ## 
Variable:L"HDDP" # The device path of Boot file on Hard device.
   gBdsLibStringPackageGuid                      ## CONSUMES ## HII # HII 
String PackageList Guid
diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf 
b/IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
index 6afb8a09df9c..95a707c48b9a 100644
--- a/IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
+++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
@@ -157,6 +157,7 @@ [Guids]
   gEfiFmpCapsuleGuid                            ## SOMETIMES_CONSUMES ## GUID 
# FMP Capsule
   gEdkiiStatusCodeDataTypeVariableGuid          ## SOMETIMES_CONSUMES ## GUID
   gEfiUartDevicePathGuid                        ## SOMETIMES_CONSUMES ## GUID 
(Identify the device path for UARD device)
+  gPerformanceProtocolGuid                      ## SOMETIMES_PRODUCES ## 
Variable:L"PerfDataMemAddr" (The ACPI address of performance data)
 
 [Protocols]
   gEfiSimpleFileSystemProtocolGuid              ## SOMETIMES_CONSUMES
-- 
2.7.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to