]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/PciBus.inf
Add PciBus & IdeBus
[mirror_edk2.git] / IntelFrameworkModulePkg / Bus / Pci / PciBus / Dxe / PciBus.inf
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/PciBus.inf b/IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/PciBus.inf
new file mode 100644 (file)
index 0000000..db1ea24
--- /dev/null
@@ -0,0 +1,172 @@
+#/** @file\r
+# Component description file for PciBus module.\r
+#\r
+# 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
+#\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
+#  which accompanies this distribution. The full text of the license may be found at\r
+#  http://opensource.org/licenses/bsd-license.php\r
+#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+#\r
+#**/\r
+\r
+################################################################################\r
+#\r
+# Defines Section - statements that will be processed to create a Makefile.\r
+#\r
+################################################################################\r
+[Defines]\r
+  INF_VERSION                    = 0x00010005\r
+  BASE_NAME                      = PciBus\r
+  FILE_GUID                      = 93B80004-9FB3-11d4-9A3A-0090273FC14D\r
+  MODULE_TYPE                    = DXE_DRIVER\r
+  VERSION_STRING                 = 1.0\r
+  EDK_RELEASE_VERSION            = 0x00020000\r
+  EFI_SPECIFICATION_VERSION      = 0x00020000\r
+\r
+  ENTRY_POINT                    = PciBusEntryPoint\r
+\r
+#\r
+# The following information is for reference only and not required by the build tools.\r
+#\r
+#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
+#\r
+#  DRIVER_BINDING                =  gPciBusDriverBinding                         \r
+#  COMPONENT_NAME                =  gPciBusComponentName                         \r
+#\r
+\r
+################################################################################\r
+#\r
+# Sources Section - list of files that are required for the build to succeed.\r
+#\r
+################################################################################\r
+\r
+[Sources.common]\r
+  PciLib.c\r
+  PciIo.c\r
+  pcibus.c\r
+  PciDeviceSupport.c\r
+  ComponentName.c\r
+  ComponentName.h\r
+  PciCommand.c\r
+  PciResourceSupport.c\r
+  PciEnumeratorSupport.c\r
+  PciEnumerator.c\r
+  PciOptionRomSupport.c\r
+  PciDriverOverride.c\r
+  PciPowerManagement.c\r
+  PciPowerManagement.h\r
+  PciDriverOverride.h\r
+  PciRomTable.c\r
+  PciHotPlugSupport.c\r
+  PciLib.h\r
+  PciHotPlugSupport.h\r
+  PciRomTable.h\r
+  PciOptionRomSupport.h\r
+  PciEnumeratorSupport.h\r
+  PciEnumerator.h\r
+  PciResourceSupport.h\r
+  PciDeviceSupport.h\r
+  PciCommand.h\r
+  PciIo.h\r
+  pcibus.h\r
+\r
+[Includes]\r
+  IntelFrameworkModulePkg/Include\r
+\r
+################################################################################\r
+#\r
+# Package Dependency Section - list of Package files that are required for\r
+#                              this module.\r
+#\r
+################################################################################\r
+\r
+[Packages]\r
+  MdePkg/MdePkg.dec\r
+  MdeModulePkg/MdeModulePkg.dec\r
+  IntelFrameworkPkg/IntelFrameworkPkg.dec\r
+  IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec\r
+\r
+\r
+\r
+################################################################################\r
+#\r
+# Library Class Section - list of Library Classes that are required for\r
+#                         this module.\r
+#\r
+################################################################################\r
+\r
+[LibraryClasses]\r
+  PciIncompatibleDeviceSupportLib\r
+  PcdLib\r
+  DevicePathLib\r
+  UefiBootServicesTableLib\r
+  MemoryAllocationLib\r
+  ReportStatusCodeLib\r
+  BaseMemoryLib\r
+  UefiLib\r
+  BaseLib\r
+  UefiDriverEntryPoint\r
+  DebugLib\r
+\r
+\r
+################################################################################\r
+#\r
+# Guid C Name Section - list of Guids that this module uses or produces.\r
+#\r
+################################################################################\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
+################################################################################\r
+#\r
+# Protocol C Name Section - list of Protocol and Protocol Notify C Names\r
+#                           that this module uses or produces.\r
+#\r
+################################################################################\r
+\r
+[Protocols]\r
+  gEfiPciHotPlugRequestProtocolGuid             # PROTOCOL ALWAYS_PRODUCED\r
+  gEfiBusSpecificDriverOverrideProtocolGuid     # PROTOCOL BY_START\r
+  gEfiPciIoProtocolGuid                         # PROTOCOL BY_START\r
+  gEfiLoadedImageProtocolGuid                   # PROTOCOL TO_START\r
+  gEfiDecompressProtocolGuid                    # PROTOCOL TO_START\r
+  gEfiPciHotPlugInitProtocolGuid                # PROTOCOL TO_START\r
+  gEfiPciHostBridgeResourceAllocationProtocolGuid # PROTOCOL TO_START\r
+  gEfiPciPlatformProtocolGuid                   # PROTOCOL TO_START\r
+  gEfiPciRootBridgeIoProtocolGuid               # PROTOCOL TO_START\r
+  gEfiDevicePathProtocolGuid                    # PROTOCOL TO_START\r
+\r
+\r
+################################################################################\r
+#\r
+# Pcd FEATURE_FLAG - list of PCDs that this module is coded for.\r
+#\r
+################################################################################\r
+\r
+[PcdsFeatureFlag.common]\r
+  PcdPciVgaEnable|gEfiIntelFrameworkModulePkgTokenSpaceGuid\r
+  PcdPciBusHotplugDeviceSupport|gEfiIntelFrameworkModulePkgTokenSpaceGuid\r
+  PcdPciIsaEnable|gEfiIntelFrameworkModulePkgTokenSpaceGuid\r
+\r
+\r
+################################################################################\r
+#\r
+# Pcd FIXED_AT_BUILD - list of PCDs that this module is coded for.\r
+#\r
+################################################################################\r
+\r
+[PcdsFixedAtBuild.common]\r
+  PcdPciIncompatibleDeviceSupportMask|gEfiIntelFrameworkModulePkgTokenSpaceGuid\r
+\r