This commit is contained in:
vanjeff
2008-10-27 01:52:32 +00:00
parent efe08f48c5
commit bc14bdb317
11 changed files with 346 additions and 271 deletions

View File

@ -46,7 +46,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Library/PcdLib.h>
#include <Library/PciIncompatibleDeviceSupportLib.h>
#include <IndustryStandard/Pci23.h>
#include <IndustryStandard/Pci.h>
#include <IndustryStandard/PeImage.h>
#include <IndustryStandard/Acpi.h>
#include "ComponentName.h"

View File

@ -146,7 +146,7 @@ LocateCapabilityRegBlock (
PciIoRead (
&PciIoDevice->PciIo,
EfiPciIoWidthUint8,
EFI_PCI_CAPABILITY_PTR,
PCI_CAPBILITY_POINTER_OFFSET,
1,
&CapabilityPtr
);

View File

@ -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