summaryrefslogtreecommitdiff
path: root/PcAtChipsetPkg/PciHostBridgeDxe/PciRootBridgeIo.c
diff options
context:
space:
mode:
Diffstat (limited to 'PcAtChipsetPkg/PciHostBridgeDxe/PciRootBridgeIo.c')
-rwxr-xr-xPcAtChipsetPkg/PciHostBridgeDxe/PciRootBridgeIo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/PcAtChipsetPkg/PciHostBridgeDxe/PciRootBridgeIo.c b/PcAtChipsetPkg/PciHostBridgeDxe/PciRootBridgeIo.c
index 11eadb40f7..36f83f62e0 100755
--- a/PcAtChipsetPkg/PciHostBridgeDxe/PciRootBridgeIo.c
+++ b/PcAtChipsetPkg/PciHostBridgeDxe/PciRootBridgeIo.c
@@ -211,7 +211,7 @@ RootBridgeIoPciRW (
// Memory Controller Pci Root Bridge Io Module Variables
//
EFI_METRONOME_ARCH_PROTOCOL *mMetronome;
-EFI_CPU_IO_PROTOCOL *mCpuIo;
+EFI_CPU_IO2_PROTOCOL *mCpuIo;
EFI_STATUS
RootBridgeConstructor (
@@ -313,7 +313,7 @@ Returns:
Protocol->SegmentNumber = 0;
- Status = gBS->LocateProtocol (&gEfiCpuIoProtocolGuid, NULL, (VOID **)&mCpuIo);
+ Status = gBS->LocateProtocol (&gEfiCpuIo2ProtocolGuid, NULL, (VOID **)&mCpuIo);
ASSERT_EFI_ERROR (Status);
Status = gBS->LocateProtocol (&gEfiMetronomeArchProtocolGuid, NULL, (VOID **)&mMetronome);