[edk2] [Patch 1/2] UefiCpuPkg/CpuFeaturesDxe.inf: Add missed Depex protocol.

Eric Dong posted 2 patches 7 years, 1 month ago
[edk2] [Patch 1/2] UefiCpuPkg/CpuFeaturesDxe.inf: Add missed Depex protocol.
Posted by Eric Dong 7 years, 1 month ago
The gEfiMpServiceProtocolGuid protocol is used by
CpuFeaturesDxe.inf during feature detection. Should be
included in the [DepEx] section but actually not.
This patch add it.

Cc: Liming Gao <ruiyu.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Eric Dong <eric.dong@intel.com>
---
 UefiCpuPkg/CpuFeatures/CpuFeaturesDxe.inf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/UefiCpuPkg/CpuFeatures/CpuFeaturesDxe.inf b/UefiCpuPkg/CpuFeatures/CpuFeaturesDxe.inf
index b1733be..77c6d80 100644
--- a/UefiCpuPkg/CpuFeatures/CpuFeaturesDxe.inf
+++ b/UefiCpuPkg/CpuFeatures/CpuFeaturesDxe.inf
@@ -48,7 +48,7 @@
   gUefiCpuPkgTokenSpaceGuid.PcdCpuFeaturesInitAfterSmmRelocation  ## CONSUMES
 
 [Depex]
-  TRUE
+  gEfiMpServiceProtocolGuid
 
 [UserExtensions.TianoCore."ExtraFiles"]
   CpuFeaturesDxeExtra.uni
-- 
2.7.0.windows.1

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