From 0b58c4894dad03100c17ce5b1124c624f002700f Mon Sep 17 00:00:00 2001 From: Ruiyu Ni Date: Thu, 19 May 2016 15:16:42 +0800 Subject: [PATCH] MdeModulePkg/PciHostBridgeDxe: Add CpuArch protocol dependency The driver entry point calls gDS->SetMemorySpaceAttributes(). This interface may return EFI_NOT_AVAILABLE_YET when CPU Arch protocol is not available. So we need to list CpuArch protocol in its INF dependency section. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni Reviewed-by: Liming Gao --- MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf b/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf index ab5d87e1cf..d8b0439699 100644 --- a/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf +++ b/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf @@ -52,4 +52,5 @@ [Depex] gEfiCpuIo2ProtocolGuid AND - gEfiMetronomeArchProtocolGuid + gEfiMetronomeArchProtocolGuid AND + gEfiCpuArchProtocolGuid