X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FBus%2FPci%2FPciBusDxe%2FPciBus.h;h=239835eab75fc3a7cd67a5d32e9b2b930fa1d5e4;hb=8db6a82c50fe16bd16a8dc53e890f13a8a91896c;hp=8517c60f72cf13ab57f3b0625a814855ee1d8e31;hpb=d40483911c83dbcff1cb25ae4c9b9c26cf213973;p=mirror_edk2.git diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h b/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h index 8517c60f72..239835eab7 100644 --- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h +++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h @@ -1,7 +1,7 @@ /** @file Header files and data structures needed by PCI Bus module. -Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -32,6 +32,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include #include #include +#include #include #include @@ -127,6 +128,12 @@ struct _PCI_BAR { #define PCI_CARD_PREFETCHABLE_MEMORY_0_ENABLE BIT8 #define PCI_CARD_PREFETCHABLE_MEMORY_1_ENABLE BIT9 +#define RB_IO_RANGE 1 +#define RB_MEM32_RANGE 2 +#define RB_PMEM32_RANGE 3 +#define RB_MEM64_RANGE 4 +#define RB_PMEM64_RANGE 5 + #define PPB_BAR_0 0 #define PPB_BAR_1 1 #define PPB_IO_RANGE 2 @@ -223,6 +230,11 @@ struct _PCI_IO_DEVICE { // UINT32 Decodes; + // + // TRUE if the ROM image is from the PCI Option ROM BAR + // + BOOLEAN EmbeddedRom; + // // The OptionRom Size // @@ -304,8 +316,8 @@ extern UINT64 gAllOne; extern UINT64 gAllZero; extern EFI_PCI_PLATFORM_PROTOCOL *gPciPlatformProtocol; extern EFI_PCI_OVERRIDE_PROTOCOL *gPciOverrideProtocol; - - +extern BOOLEAN mReserveIsaAliases; +extern BOOLEAN mReserveVgaAliases; /** Macro that checks whether device is a GFX device.