]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
Update PCI Bus Driver to use the PeCoffLib instead of paring the PE/COFF image itself
[mirror_edk2.git] / IntelFrameworkModulePkg / Bus / Pci / PciBusDxe / PciBusDxe.inf
index 48bbe15ad97364e1c5dc83a5352b8e799fbc9460..8fa69ec72951f205eb33245e90d528bfc62c05e6 100644 (file)
@@ -4,7 +4,7 @@
 # PCI bus driver. This module will probe all PCI devices and allocate MMIO and IO\r
 #  space for these devices. Please use PCD feature flag PcdPciBusHotplugDeviceSupport to enable\r
 #  support hot plug.\r
-# Copyright (c) 2006 - 2007, Intel Corporation\r
+# Copyright (c) 2006 - 2008, Intel Corporation\r
 #\r
 #  All rights reserved. This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -20,7 +20,7 @@
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = PciBusDxe\r
   FILE_GUID                      = 93B80004-9FB3-11d4-9A3A-0090273FC14D\r
-  MODULE_TYPE                    = DXE_DRIVER\r
+  MODULE_TYPE                    = UEFI_DRIVER\r
   VERSION_STRING                 = 1.0\r
   EDK_RELEASE_VERSION            = 0x00020000\r
   EFI_SPECIFICATION_VERSION      = 0x00020000\r
 #\r
 #  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
 #\r
-#  DRIVER_BINDING                =  gPciBusDriverBinding                         \r
-#  COMPONENT_NAME                =  gPciBusComponentName                         \r
+#  DRIVER_BINDING                =  gPciBusDriverBinding\r
+#  COMPONENT_NAME                =  gPciBusComponentName\r
 #\r
 \r
 [Sources.common]\r
   PciLib.c\r
   PciIo.c\r
-  pcibus.c\r
+  PciBus.c\r
   PciDeviceSupport.c\r
   ComponentName.c\r
   ComponentName.h\r
@@ -64,7 +64,7 @@
   PciDeviceSupport.h\r
   PciCommand.h\r
   PciIo.h\r
-  pcibus.h\r
+  PciBus.h\r
 \r
 [Packages]\r
   MdePkg/MdePkg.dec\r
   BaseLib\r
   UefiDriverEntryPoint\r
   DebugLib\r
-\r
+  PeCoffLib\r
 \r
 [Guids]\r
   gEfiPciOptionRomTableGuid                     # SOMETIMES_CONSUMED  System Table\r
-  gEfiUgaIoProtocolGuid                         # ALWAYS_CONSUMED  System Table\r
   gEfiPciHotplugDeviceGuid                      # PRIVATE\r
   gEfiPciOptionRomTableGuid                     # SOMETIMES_CONSUMED\r
 \r
-\r
 [Protocols]\r
   gEfiPciHotPlugRequestProtocolGuid             # PROTOCOL ALWAYS_PRODUCED\r
   gEfiBusSpecificDriverOverrideProtocolGuid     # PROTOCOL BY_START\r
   gEfiPciPlatformProtocolGuid                   # PROTOCOL TO_START\r
   gEfiPciRootBridgeIoProtocolGuid               # PROTOCOL TO_START\r
   gEfiDevicePathProtocolGuid                    # PROTOCOL TO_START\r
+  gEfiIncompatiblePciDeviceSupportProtocolGuid  # PROTOCOL TO_START\r
+  gEfiUgaIoProtocolGuid                         # ALWAYS_CONSUMED     System Table\r
 \r
+[FeaturePcd.common]\r
+  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPciVgaEnable\r
+  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPciBusHotplugDeviceSupport\r
+  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPciIsaEnable\r
 \r
-[PcdsFeatureFlag.common]\r
-  PcdPciVgaEnable|gEfiIntelFrameworkModulePkgTokenSpaceGuid\r
-  PcdPciBusHotplugDeviceSupport|gEfiIntelFrameworkModulePkgTokenSpaceGuid\r
-  PcdPciIsaEnable|gEfiIntelFrameworkModulePkgTokenSpaceGuid\r
 \r
+[FixedPcd.common]\r
+  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPciIncompatibleDeviceSupportMask\r
 \r
-[PcdsFixedAtBuild.common]\r
-  PcdPciIncompatibleDeviceSupportMask|gEfiIntelFrameworkModulePkgTokenSpaceGuid\r
 \r