]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Bus/Pci/PciBus/Dxe/PciBus.msa
Add comments for all file tagged with "ToolCode="DUMMY"".
[mirror_edk2.git] / EdkModulePkg / Bus / Pci / PciBus / Dxe / PciBus.msa
index 742f8315f5c9e1887e5897ed7a24a35c10ca9418..855fdd7591f2b598630ae1f87a2a0c0556d9d4d0 100644 (file)
@@ -1,21 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>\r
-<!--Copyright (c) 2006, 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
-http://opensource.org/licenses/bsd-license.php
-
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.-->\r
-<ModuleSurfaceArea  xmlns="http://www.TianoCore.org/2006/Edk2.0">\r
+<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r
   <MsaHeader>\r
     <ModuleName>PciBus</ModuleName>\r
     <ModuleType>DXE_DRIVER</ModuleType>\r
     <GuidValue>93B80004-9FB3-11d4-9A3A-0090273FC14D</GuidValue>\r
     <Version>1.0</Version>\r
     <Abstract>Component description file for PciBus module.</Abstract>\r
-    <Description>FIX ME!</Description>\r
-    <Copyright>Copyright (c) 2004-2006, Intel Corporation</Copyright>\r
+    <Description>PCI bus driver. This module will probe all PCI devices and allocate MMIO and IO
+       space for these devices.\r
+       LightPcdLib.c tagged with "ToolCode="DUMMY"" is light weight verison for PCI library\r
+       function. This version provide simple implementation and do not support hot plug. Only one\r
+       between PcdLib.c and LightPcdLib.c can be choosed. \r
+    </Description>\r
+    <Copyright>Copyright (c) 2006, Intel Corporation</Copyright>\r
     <License>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
@@ -60,6 +57,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.-->
     <LibraryClass Usage="ALWAYS_CONSUMED">\r
       <Keyword>DevicePathLib</Keyword>\r
     </LibraryClass>\r
+    <LibraryClass Usage="ALWAYS_CONSUMED">\r
+      <Keyword>PeCoffGetEntryPointLib</Keyword>\r
+    </LibraryClass>\r
+    <LibraryClass Usage="ALWAYS_CONSUMED">\r
+      <Keyword>PcdLib</Keyword>\r
+    </LibraryClass>\r
   </LibraryClassDefinitions>\r
   <SourceFiles>\r
     <Filename>PciBus.h</Filename>\r
@@ -84,52 +87,54 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.-->
     <Filename>PciEnumeratorSupport.c</Filename>\r
     <Filename>PciResourceSupport.c</Filename>\r
     <Filename>PciCommand.c</Filename>\r
+    <Filename>ComponentName.h</Filename>\r
     <Filename>ComponentName.c</Filename>\r
     <Filename>PciDeviceSupport.c</Filename>\r
     <Filename>pcibus.c</Filename>\r
     <Filename>PciIo.c</Filename>\r
     <Filename>PciLib.c</Filename>\r
+    <Filename ToolCode="DUMMY">LightPciLib.c</Filename>\r
   </SourceFiles>\r
   <PackageDependencies>\r
     <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>\r
-    <Package PackageGuid="B6EC423C-21D2-490D-85C6-DD5864EAA674"/>\r
+    <Package PackageGuid="68169ab0-d41b-4009-9060-292c253ac43d"/>\r
   </PackageDependencies>\r
   <Protocols>\r
     <Protocol Usage="TO_START">\r
-      <ProtocolCName>DevicePath</ProtocolCName>\r
+      <ProtocolCName>gEfiDevicePathProtocolGuid</ProtocolCName>\r
     </Protocol>\r
     <Protocol Usage="TO_START">\r
-      <ProtocolCName>PciRootBridgeIo</ProtocolCName>\r
+      <ProtocolCName>gEfiPciRootBridgeIoProtocolGuid</ProtocolCName>\r
     </Protocol>\r
     <Protocol Usage="TO_START">\r
-      <ProtocolCName>PciPlatform</ProtocolCName>\r
+      <ProtocolCName>gEfiPciPlatformProtocolGuid</ProtocolCName>\r
     </Protocol>\r
     <Protocol Usage="TO_START">\r
-      <ProtocolCName>IncompatiblePciDeviceSupport</ProtocolCName>\r
+      <ProtocolCName>gEfiIncompatiblePciDeviceSupportProtocolGuid</ProtocolCName>\r
     </Protocol>\r
     <Protocol Usage="TO_START">\r
-      <ProtocolCName>PciHostBridgeResourceAllocation</ProtocolCName>\r
+      <ProtocolCName>gEfiPciHostBridgeResourceAllocationProtocolGuid</ProtocolCName>\r
     </Protocol>\r
     <Protocol Usage="TO_START">\r
-      <ProtocolCName>PciHotPlugInit</ProtocolCName>\r
+      <ProtocolCName>gEfiPciHotPlugInitProtocolGuid</ProtocolCName>\r
     </Protocol>\r
     <Protocol Usage="TO_START">\r
-      <ProtocolCName>Decompress</ProtocolCName>\r
+      <ProtocolCName>gEfiDecompressProtocolGuid</ProtocolCName>\r
     </Protocol>\r
     <Protocol Usage="TO_START">\r
-      <ProtocolCName>LoadedImage</ProtocolCName>\r
+      <ProtocolCName>gEfiLoadedImageProtocolGuid</ProtocolCName>\r
     </Protocol>\r
     <Protocol Usage="TO_START">\r
-      <ProtocolCName>UgaIo</ProtocolCName>\r
+      <ProtocolCName>gEfiUgaIoProtocolGuid</ProtocolCName>\r
     </Protocol>\r
     <Protocol Usage="BY_START">\r
-      <ProtocolCName>PciIo</ProtocolCName>\r
+      <ProtocolCName>gEfiPciIoProtocolGuid</ProtocolCName>\r
     </Protocol>\r
     <Protocol Usage="BY_START">\r
-      <ProtocolCName>BusSpecificDriverOverride</ProtocolCName>\r
+      <ProtocolCName>gEfiBusSpecificDriverOverrideProtocolGuid</ProtocolCName>\r
     </Protocol>\r
     <Protocol Usage="ALWAYS_PRODUCED">\r
-      <ProtocolCName>PciHotPlugRequest</ProtocolCName>\r
+      <ProtocolCName>gEfiPciHotPlugRequestProtocolGuid</ProtocolCName>\r
     </Protocol>\r
   </Protocols>\r
   <SystemTables>\r
@@ -142,26 +147,36 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.-->
   </SystemTables>\r
   <Guids>\r
     <GuidCNames Usage="SOMETIMES_CONSUMED">\r
-      <GuidCName>PciOptionRomTable</GuidCName>\r
+      <GuidCName>gEfiPciOptionRomTableGuid</GuidCName>\r
     </GuidCNames>\r
     <GuidCNames Usage="SOMETIMES_CONSUMED">\r
-      <GuidCName>StatusCodeSpecificData</GuidCName>\r
+      <GuidCName>gEfiStatusCodeSpecificDataGuid</GuidCName>\r
     </GuidCNames>\r
     <GuidCNames Usage="PRIVATE">\r
-      <GuidCName>PciHotplugDevice</GuidCName>\r
+      <GuidCName>gEfiPciHotplugDeviceGuid</GuidCName>\r
     </GuidCNames>\r
   </Guids>\r
   <Externs>\r
     <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>\r
-    <Specification>EDK_RELEASE_VERSION 0x00090000</Specification>\r
+    <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>\r
     <Extern>\r
       <ModuleEntryPoint>PciBusEntryPoint</ModuleEntryPoint>\r
     </Extern>\r
     <Extern>\r
       <DriverBinding>gPciBusDriverBinding</DriverBinding>\r
-    </Extern>\r
-    <Extern>\r
       <ComponentName>gPciBusComponentName</ComponentName>\r
     </Extern>\r
   </Externs>\r
+  <PcdCoded>\r
+    <PcdEntry PcdItemType="FEATURE_FLAG" Usage="ALWAYS_CONSUMED">\r
+      <C_Name>PcdPciIsaEnable</C_Name>\r
+      <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>\r
+      <HelpText>Whether ISA decoding is enabled on this platform so we should avoid those aliased resources</HelpText>\r
+    </PcdEntry>\r
+    <PcdEntry PcdItemType="FEATURE_FLAG" Usage="ALWAYS_CONSUMED">\r
+      <C_Name>PcdPciVgaEnable</C_Name>\r
+      <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>\r
+      <HelpText>Whether VGA decoding is enabled on this platform so we should avoid those aliased resources</HelpText>\r
+    </PcdEntry>\r
+  </PcdCoded>\r
 </ModuleSurfaceArea>
\ No newline at end of file