summaryrefslogtreecommitdiff
path: root/PcAtChipsetPkg/PciHostBridgeDxe
diff options
context:
space:
mode:
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2009-12-07 03:25:16 +0000
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2009-12-07 03:25:16 +0000
commit8e9778c9a48eaf1045d381c9808f567c6c0d56bc (patch)
treee5f2b9d4db037ceedb170e39532fc7bad6337f34 /PcAtChipsetPkg/PciHostBridgeDxe
parent54bd807967f8100bb59515a2bc5e4d2cdd998b8f (diff)
downloadedk2-platforms-8e9778c9a48eaf1045d381c9808f567c6c0d56bc.tar.xz
Update drivers to consume CPU I/O 2 Protocol instead of Framework CPU I/O Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9524 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'PcAtChipsetPkg/PciHostBridgeDxe')
-rwxr-xr-xPcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.h2
-rwxr-xr-xPcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf4
-rwxr-xr-xPcAtChipsetPkg/PciHostBridgeDxe/PciRootBridgeIo.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.h b/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.h
index 7cb6a6503f..105a3b0e04 100755
--- a/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.h
+++ b/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.h
@@ -22,7 +22,7 @@
#include <Protocol/PciHostBridgeResourceAllocation.h>
#include <Protocol/PciRootBridgeIo.h>
-#include <Protocol/CpuIo.h>
+#include <Protocol/CpuIo2.h>
#include <Protocol/Metronome.h>
#include <Protocol/DevicePath.h>
diff --git a/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf b/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
index f36cf9b02a..282e65433f 100755
--- a/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
+++ b/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
@@ -47,9 +47,9 @@
[Protocols]
gEfiPciHostBridgeResourceAllocationProtocolGuid
gEfiPciRootBridgeIoProtocolGuid
- gEfiCpuIoProtocolGuid
+ gEfiCpuIo2ProtocolGuid
gEfiMetronomeArchProtocolGuid
gEfiDevicePathProtocolGuid
[depex]
- gEfiCpuIoProtocolGuid AND gEfiMetronomeArchProtocolGuid
+ gEfiCpuIo2ProtocolGuid AND gEfiMetronomeArchProtocolGuid
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);