Only include SAL related definitions if the CPU Arch is IPF
[mirror_edk2.git] / EdkModulePkg / Universal / StatusCode / Dxe / DxeStatusCode.msa
CommitLineData
56836fe9 1<?xml version="1.0" encoding="UTF-8"?>\r
56836fe9 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">\r
3 <MsaHeader>\r
4 <ModuleName>DxeStatusCode</ModuleName>\r
5 <ModuleType>DXE_RUNTIME_DRIVER</ModuleType>\r
6 <GuidValue>FEDE0A1B-BCA2-4A9F-BB2B-D9FD7DEC2E9F</GuidValue>\r
7 <Version>1.0</Version>\r
8 <Abstract>DXE status code driver.</Abstract>\r
9 <Description>\r
10 Status Code Architectural Protocol implementation as defined in Tiano\r
11 Architecture Specification. This driver has limited functionality \r
12 at runtime and will not log to Data Hub at runtime.\r
13 </Description>\r
14 <Copyright>Copyright (c) 2006, Intel Corporation.</Copyright>\r
161c26a7 15 <License>All rights reserved. This program and the accompanying materials\r
16 are licensed and made available under the terms and conditions of the BSD License\r
17 which accompanies this distribution. The full text of the license may be found at\r
18 http://opensource.org/licenses/bsd-license.php\r
19 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
20 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.</License>\r
56836fe9 21 <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052</Specification>\r
22 </MsaHeader>\r
23 <ModuleDefinitions>\r
24 <SupportedArchitectures>IA32 X64 IPF EBC</SupportedArchitectures>\r
25 <BinaryModule>false</BinaryModule>\r
26 <OutputFileBasename>DxeStatusCode</OutputFileBasename>\r
27 </ModuleDefinitions>\r
28 <LibraryClassDefinitions>\r
29 <LibraryClass Usage="ALWAYS_CONSUMED">\r
30 <Keyword>BaseLib</Keyword>\r
31 </LibraryClass>\r
32 <LibraryClass Usage="ALWAYS_CONSUMED">\r
33 <Keyword>BaseMemoryLib</Keyword>\r
34 </LibraryClass>\r
35 <LibraryClass Usage="ALWAYS_CONSUMED">\r
36 <Keyword>DebugLib</Keyword>\r
37 </LibraryClass>\r
38 <LibraryClass Usage="ALWAYS_CONSUMED">\r
39 <Keyword>ReportStatusCodeLib</Keyword>\r
40 </LibraryClass>\r
41 <LibraryClass Usage="ALWAYS_CONSUMED">\r
42 <Keyword>PrintLib</Keyword>\r
43 </LibraryClass>\r
44 <LibraryClass Usage="ALWAYS_CONSUMED">\r
45 <Keyword>PcdLib</Keyword>\r
46 </LibraryClass>\r
47 <LibraryClass Usage="ALWAYS_CONSUMED">\r
48 <Keyword>HobLib</Keyword>\r
49 </LibraryClass>\r
50 <LibraryClass Usage="ALWAYS_CONSUMED">\r
51 <Keyword>UefiDriverEntryPoint</Keyword>\r
52 </LibraryClass>\r
53 <LibraryClass Usage="ALWAYS_CONSUMED">\r
54 <Keyword>UefiBootServicesTableLib</Keyword>\r
55 </LibraryClass>\r
56 <LibraryClass Usage="ALWAYS_CONSUMED">\r
57 <Keyword>UefiLib</Keyword>\r
58 </LibraryClass>\r
59 <LibraryClass Usage="ALWAYS_CONSUMED">\r
60 <Keyword>MemoryAllocationLib</Keyword>\r
61 </LibraryClass>\r
62 <LibraryClass Usage="ALWAYS_CONSUMED">\r
63 <Keyword>UefiRuntimeLib</Keyword>\r
64 </LibraryClass>\r
65 <LibraryClass Usage="ALWAYS_CONSUMED">\r
66 <Keyword>SerialPortLib</Keyword>\r
67 </LibraryClass>\r
68 <LibraryClass Usage="ALWAYS_CONSUMED">\r
69 <Keyword>OemHookStatusCodeLib</Keyword>\r
70 </LibraryClass>\r
020a9a5b 71 <LibraryClass Usage="ALWAYS_CONSUMED" SupArchList="IPF">\r
56836fe9 72 <Keyword>EdkDxeSalLib</Keyword>\r
73 </LibraryClass>\r
74 </LibraryClassDefinitions>\r
75 <SourceFiles>\r
7035cc32 76 <Filename>DxeStatusCode.h</Filename>\r
56836fe9 77 <Filename>DxeStatusCode.c</Filename>\r
78 <Filename>DataHubStatusCodeWorker.c</Filename>\r
79 <Filename>RtMemoryStatusCodeWorker.c</Filename>\r
80 <Filename>SerialStatusCodeWorker.c</Filename>\r
81 <Filename SupArchList="IA32">Common/DxeStatusCodeCommon.c</Filename>\r
82 <Filename SupArchList="IA32">Common/StatusCode.dxs</Filename>\r
83 <Filename SupArchList="X64">Common/DxeStatusCodeCommon.c</Filename>\r
84 <Filename SupArchList="X64">Common/StatusCode.dxs</Filename>\r
85 <Filename SupArchList="EBC">Common/DxeStatusCodeCommon.c</Filename>\r
86 <Filename SupArchList="EBC">Common/StatusCode.dxs</Filename>\r
87 <Filename SupArchList="IPF">Ipf/DxeStatusCodeIpf.c</Filename>\r
88 <Filename SupArchList="IPF">Ipf/StatusCode.dxs</Filename>\r
89 </SourceFiles>\r
90 <PackageDependencies>\r
91 <Package PackageGuid="5E0E9358-46B6-4AE2-8218-4AB8B9BBDCEC"/>\r
62f84315 92 <Package PackageGuid="68169ab0-d41b-4009-9060-292c253ac43d"/>\r
56836fe9 93 </PackageDependencies>\r
94 <Protocols>\r
95 <Protocol Usage="ALWAYS_CONSUMED">\r
96 <ProtocolCName>gEfiExtendedSalStatusCodeServicesProtocolGuid</ProtocolCName>\r
97 </Protocol>\r
98 <Protocol Usage="ALWAYS_CONSUMED">\r
99 <ProtocolCName>gEfiSerialIoProtocolGuid</ProtocolCName>\r
100 </Protocol>\r
101 <Protocol Usage="ALWAYS_CONSUMED">\r
102 <ProtocolCName>gEfiDataHubProtocolGuid</ProtocolCName>\r
103 </Protocol>\r
53408952 104 <Protocol Usage="ALWAYS_CONSUMED">\r
105 <ProtocolCName>gEfiStatusCodeRuntimeProtocolGuid</ProtocolCName>\r
106 </Protocol>\r
56836fe9 107 </Protocols>\r
108 <Guids> \r
109 <GuidCNames Usage="SOMETIMES_CONSUMED">\r
110 <GuidCName>gMemoryStatusCodeRecordGuid</GuidCName>\r
111 </GuidCNames>\r
112 <GuidCNames Usage="SOMETIMES_CONSUMED">\r
113 <GuidCName>gEfiStatusCodeDataTypeStringGuid</GuidCName>\r
114 </GuidCNames>\r
a93763b7 115 <GuidCNames Usage="SOMETIMES_CONSUMED">\r
116 <GuidCName>gEfiStatusCodeSpecificDataGuid</GuidCName>\r
117 </GuidCNames>\r
56836fe9 118 <GuidCNames Usage="SOMETIMES_CONSUMED">\r
119 <GuidCName>gEfiStatusCodeGuid</GuidCName>\r
120 </GuidCNames>\r
121 </Guids>\r
122 <Externs>\r
123 <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>\r
124 <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>\r
125 <Extern>\r
126 <ModuleEntryPoint>DxeStatusCodeDriverEntry</ModuleEntryPoint>\r
127 </Extern>\r
128 <Extern>\r
129 <SetVirtualAddressMapCallBack>VirtualAddressChangeCallBack</SetVirtualAddressMapCallBack>\r
130 </Extern>\r
131 </Externs>\r
132 <PcdCoded>\r
133 <PcdEntry PcdItemType="FEATURE_FLAG">\r
134 <C_Name>PcdStatusCodeUseHardSerial</C_Name>\r
7035cc32 135 <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>\r
56836fe9 136 <HelpText/>\r
137 </PcdEntry>\r
138 <PcdEntry PcdItemType="FEATURE_FLAG">\r
139 <C_Name>PcdStatusCodeUseEfiSerial</C_Name>\r
7035cc32 140 <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>\r
56836fe9 141 <HelpText/>\r
142 </PcdEntry>\r
143 <PcdEntry PcdItemType="FEATURE_FLAG">\r
144 <C_Name>PcdStatusCodeUseRuntimeMemory</C_Name>\r
7035cc32 145 <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>\r
56836fe9 146 <HelpText/>\r
147 </PcdEntry>\r
148 <PcdEntry PcdItemType="FEATURE_FLAG">\r
149 <C_Name>PcdStatusCodeUseDataHub</C_Name>\r
7035cc32 150 <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>\r
56836fe9 151 <HelpText/>\r
152 </PcdEntry>\r
153 <PcdEntry PcdItemType="FEATURE_FLAG">\r
154 <C_Name>PcdStatusCodeUseOEM</C_Name>\r
7035cc32 155 <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>\r
56836fe9 156 <HelpText/>\r
157 </PcdEntry>\r
158 <PcdEntry PcdItemType="FEATURE_FLAG">\r
159 <C_Name>PcdStatusCodeReplayInSerial</C_Name>\r
7035cc32 160 <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>\r
56836fe9 161 <HelpText/>\r
162 </PcdEntry>\r
163 <PcdEntry PcdItemType="FEATURE_FLAG">\r
164 <C_Name>PcdStatusCodeReplayInDataHub</C_Name>\r
7035cc32 165 <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>\r
56836fe9 166 <HelpText/>\r
167 </PcdEntry>\r
168 <PcdEntry PcdItemType="FEATURE_FLAG">\r
169 <C_Name>PcdStatusCodeReplayInRuntimeMemory</C_Name>\r
7035cc32 170 <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>\r
56836fe9 171 <HelpText/>\r
172 </PcdEntry>\r
173 <PcdEntry PcdItemType="FEATURE_FLAG">\r
174 <C_Name>PcdStatusCodeReplayInOEM</C_Name>\r
7035cc32 175 <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>\r
56836fe9 176 <HelpText/>\r
177 </PcdEntry>\r
178 <PcdEntry PcdItemType="DYNAMIC">\r
9dc7af1e 179 <C_Name>PcdStatusCodeRuntimeMemorySize</C_Name>\r
7035cc32 180 <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>\r
56836fe9 181 <HelpText/>\r
182 </PcdEntry>\r
183 </PcdCoded>\r
184</ModuleSurfaceArea>