From bc14bdb317105f282ca5e6543e97ae545dd681df Mon Sep 17 00:00:00 2001 From: vanjeff Date: Mon, 27 Oct 2008 01:52:32 +0000 Subject: git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6240 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBus.h | 2 +- IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciCommand.c | 2 +- IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'IntelFrameworkModulePkg/Bus') diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBus.h b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBus.h index 9db1dde553..e594ae0fdb 100644 --- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBus.h +++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBus.h @@ -46,7 +46,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include #include -#include +#include #include #include #include "ComponentName.h" diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciCommand.c b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciCommand.c index 05d7273075..6fa61cae29 100644 --- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciCommand.c +++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciCommand.c @@ -146,7 +146,7 @@ LocateCapabilityRegBlock ( PciIoRead ( &PciIoDevice->PciIo, EfiPciIoWidthUint8, - EFI_PCI_CAPABILITY_PTR, + PCI_CAPBILITY_POINTER_OFFSET, 1, &CapabilityPtr ); diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c index 90f3591cd9..c66c7e9bb3 100644 --- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c +++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c @@ -63,7 +63,7 @@ GetOpRomInfo ( // // 0x30 // - RomBarIndex = PCI_DEVICE_ROMBAR; + RomBarIndex = PCI_EXPANSION_ROM_BASE; if (IS_PCI_BRIDGE (&PciIoDevice->Pci)) { // @@ -163,7 +163,7 @@ LoadOpRomImage ( // // 0x30 // - RomBarIndex = PCI_DEVICE_ROMBAR; + RomBarIndex = PCI_EXPANSION_ROM_BASE; if (IS_PCI_BRIDGE (&(PciDevice->Pci))) { // // if is ppb -- cgit v1.2.3