change TokenSpaceGuid to the package Token Space Guid
[mirror_edk2.git] / IntelFrameworkModulePkg / Bus / Isa / IsaBusDxe / IsaBus.msa
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ModuleSurfaceArea xsi:schemaLocation="http://www.TianoCore.org/2006/Edk2.0 http://www.TianoCore.org/2006/Edk2.0/SurfaceArea.xsd" xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3 <MsaHeader>
4 <ModuleName>IsaBus</ModuleName>
5 <ModuleType>DXE_DRIVER</ModuleType>
6 <GuidValue>240612B5-A063-11d4-9A3A-0090273FC14D</GuidValue>
7 <Version>1.0</Version>
8 <Abstract>Component description file for IsaBus module.</Abstract>
9 <Description>Discovers all the ISA Controllers and their resources by using the ISA PnP
10 Protocol, produces an instance of the ISA I/O Protocol for every ISA
11 Controller found, loads and initializes all ISA Device Drivers, matches ISA
12 Device Drivers with their respective ISA Controllers in a deterministic
13 manner, and informs a ISA Device Driver when it is to start managing an ISA
14 Controller.</Description>
15 <Copyright>Copyright (c) 2006 - 2007, Intel Corporation<BR></Copyright>
16 <License>
17 All rights reserved. This program and the accompanying materials
18 are licensed and made available under the terms and conditions of the BSD License
19 which accompanies this distribution. The full text of the license may be found at
20 http://opensource.org/licenses/bsd-license.php
21
22 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
23 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
24 </License>
25 <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052</Specification>
26 </MsaHeader>
27 <ModuleDefinitions>
28 <SupportedArchitectures>IA32 X64 IPF EBC</SupportedArchitectures>
29 <BinaryModule>false</BinaryModule>
30 <OutputFileBasename>IsaBus</OutputFileBasename>
31 </ModuleDefinitions>
32 <LibraryClassDefinitions>
33 <LibraryClass Usage="ALWAYS_CONSUMED">
34 <Keyword>DebugLib</Keyword>
35 </LibraryClass>
36 <LibraryClass Usage="ALWAYS_CONSUMED">
37 <Keyword>UefiDriverModelLib</Keyword>
38 </LibraryClass>
39 <LibraryClass Usage="ALWAYS_CONSUMED">
40 <Keyword>UefiDriverEntryPoint</Keyword>
41 </LibraryClass>
42 <LibraryClass Usage="ALWAYS_CONSUMED">
43 <Keyword>UefiLib</Keyword>
44 </LibraryClass>
45 <LibraryClass Usage="ALWAYS_CONSUMED">
46 <Keyword>DevicePathLib</Keyword>
47 </LibraryClass>
48 <LibraryClass Usage="ALWAYS_CONSUMED">
49 <Keyword>BaseMemoryLib</Keyword>
50 </LibraryClass>
51 <LibraryClass Usage="ALWAYS_CONSUMED">
52 <Keyword>MemoryAllocationLib</Keyword>
53 </LibraryClass>
54 <LibraryClass Usage="ALWAYS_CONSUMED">
55 <Keyword>UefiBootServicesTableLib</Keyword>
56 </LibraryClass>
57 <LibraryClass Usage="ALWAYS_CONSUMED">
58 <Keyword>ReportStatusCodeLib</Keyword>
59 </LibraryClass>
60 <LibraryClass Usage="ALWAYS_CONSUMED">
61 <Keyword>BootScriptLib</Keyword>
62 </LibraryClass>
63 <LibraryClass Usage="ALWAYS_CONSUMED">
64 <Keyword>PcdLib</Keyword>
65 </LibraryClass>
66 </LibraryClassDefinitions>
67 <SourceFiles>
68 <Filename>ComponentName.h</Filename>
69 <Filename>IsaAcpi.h</Filename>
70 <Filename>IsaBus.h</Filename>
71 <Filename>IsaIo.h</Filename>
72 <Filename>IsaBus.c</Filename>
73 <Filename>IsaIo.c</Filename>
74 <Filename>ComponentName.c</Filename>
75 </SourceFiles>
76 <PackageDependencies>
77 <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
78 <Package PackageGuid="68169ab0-d41b-4009-9060-292c253ac43d"/>
79 <Package PackageGuid="bea835f9-fd62-464a-81ff-f3a806360c6b"/>
80 </PackageDependencies>
81 <Protocols>
82 <Protocol Usage="TO_START">
83 <ProtocolCName>gEfiGenericMemTestProtocolGuid</ProtocolCName>
84 </Protocol>
85 <Protocol Usage="TO_START">
86 <ProtocolCName>gEfiDevicePathProtocolGuid</ProtocolCName>
87 </Protocol>
88 <Protocol Usage="TO_START">
89 <ProtocolCName>gEfiPciIoProtocolGuid</ProtocolCName>
90 </Protocol>
91 <Protocol Usage="TO_START">
92 <ProtocolCName>gEfiIsaAcpiProtocolGuid</ProtocolCName>
93 </Protocol>
94 <Protocol Usage="BY_START">
95 <ProtocolCName>gEfiIsaIoProtocolGuid</ProtocolCName>
96 </Protocol>
97 </Protocols>
98 <Guids>
99 <GuidCNames Usage="ALWAYS_CONSUMED">
100 <GuidCName>gEfiStatusCodeSpecificDataGuid</GuidCName>
101 </GuidCNames>
102 </Guids>
103 <Externs>
104 <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
105 <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
106 <Extern>
107 <DriverBinding>gIsaBusControllerDriver</DriverBinding>
108 <ComponentName>gIsaBusComponentName</ComponentName>
109 </Extern>
110 </Externs>
111 <PcdCoded>
112 <PcdEntry PcdItemType="FEATURE_FLAG" Usage="ALWAYS_CONSUMED">
113 <C_Name>PcdIsaBusSupportIsaMemory</C_Name>
114 <TokenSpaceGuidCName>gEfiIntelFrameworkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
115 <DefaultValue>TRUE</DefaultValue>
116 <HelpText>This feature flag is used to enable the implementation for interface
117 _EFI_ISA_IO_PROTOCOL.Mem.Read, _EFI_ISA_IO_PROTOCOL.Mem.Write and _EFI_ISA_IO_PROTOCOL.CopyMem.
118 If it is unset, these interfaces will return EFI_UNSUPPORTED. When it is disabled,
119 it is will save code size if a platform does not have ISA device with ISA memory.</HelpText>
120 </PcdEntry>
121 <PcdEntry PcdItemType="FEATURE_FLAG" Usage="ALWAYS_CONSUMED">
122 <C_Name>PcdIsaBusSupportDma</C_Name>
123 <TokenSpaceGuidCName>gEfiIntelFrameworkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
124 <DefaultValue>TRUE</DefaultValue>
125 <HelpText>This feature flag is used to enable the implementation for interface
126 _EFI_ISA_IO_PROTOCOL.AllocateBuffer, _EFI_ISA_IO_PROTOCOL.FreeBuffer, _EFI_ISA_IO_PROTOCOL.Map
127 and _EFI_ISA_IO_PROTOCOL.UnMap. If it is unset, these interfaces will return EFI_UNSUPPORTED.
128 It is useful to save code size if a platform does not have ISA device which did DMA transfer.</HelpText>
129 </PcdEntry>
130 <PcdEntry PcdItemType="FEATURE_FLAG" Usage="ALWAYS_CONSUMED">
131 <C_Name>PcdIsaBusOnlySupportSlaveDma</C_Name>
132 <TokenSpaceGuidCName>gEfiIntelFrameworkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
133 <DefaultValue>FALSE</DefaultValue>
134 <HelpText>This feature flag is used to enable the implementation for interface
135 _EFI_ISA_IO_PROTOCOL.Map and _EFI_ISA_IO_PROTOCOL.UnMap to only support Slave DMA
136 transfers. In addition, unsetting this feature flag also make AllocateBuffer() and
137 FreeBuffer() to return EFI_UNSUPPORTED. It is useful to save code size if a platform have only
138 ISA device to do slave DMA R/W transfer. This flag is only effective when PcdIsaBusSupportDma
139 is set to TRUE. If PcdIsaBusSupportDma is set to FALSE, Map() and UnMap() will simply
140 return EFI_UNSUPPORTED. Please check description for PcdIsaBusSupportDma for details.</HelpText>
141 </PcdEntry>
142 </PcdCoded>
143 </ModuleSurfaceArea>