git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6240 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -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"
|
||||
|
@ -146,7 +146,7 @@ LocateCapabilityRegBlock (
|
||||
PciIoRead (
|
||||
&PciIoDevice->PciIo,
|
||||
EfiPciIoWidthUint8,
|
||||
EFI_PCI_CAPABILITY_PTR,
|
||||
PCI_CAPBILITY_POINTER_OFFSET,
|
||||
1,
|
||||
&CapabilityPtr
|
||||
);
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user