]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.msa
Remove autogen.h from all dxs files, because autogen.h file has been included by...
[mirror_edk2.git] / EdkModulePkg / Library / PeiPerformanceLib / PeiPerformanceLib.msa
index 2d57140e966691bf05b3cb5248fe7b71f19026fa..85ce0ad520e2071933bd1798ac971742452643c7 100644 (file)
@@ -1,14 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>\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>PeiPerformanceLib</ModuleName>\r
     <ModuleType>PEIM</ModuleType>\r
     <GuidValue>F72DE735-B24F-4ef6-897F-70A85D01A047</GuidValue>\r
     <Version>1.0</Version>\r
     <Abstract>Memory-only library functions with no library constructor/destructor</Abstract>\r
-    <Description>FIX ME!</Description>\r
+    <Description>This module provides the performance measurement interfaces in PEI phase, it is one instance of Performance Libarary.</Description>\r
     <Copyright>Copyright (c) 2006, Intel Corporation</Copyright>\r
-    <License xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">All rights reserved. This program and the accompanying materials
+    <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
       http://opensource.org/licenses/bsd-license.php
@@ -21,8 +21,8 @@
     <BinaryModule>false</BinaryModule>\r
     <OutputFileBasename>PeiPerformanceLib</OutputFileBasename>\r
   </ModuleDefinitions>\r
-  <LibraryClassDefinitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r
-    <LibraryClass Usage="ALWAYS_PRODUCED">\r
+  <LibraryClassDefinitions>\r
+    <LibraryClass Usage="ALWAYS_PRODUCED" SupModuleList="PEIM PEI_CORE">\r
       <Keyword>PerformanceLib</Keyword>\r
     </LibraryClass>\r
     <LibraryClass Usage="ALWAYS_CONSUMED">\r
       <Keyword>BaseMemoryLib</Keyword>\r
     </LibraryClass>\r
   </LibraryClassDefinitions>\r
-  <SourceFiles xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r
+  <SourceFiles>\r
     <Filename>PeiPerformanceLib.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
-  <Guids xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r
+  <Guids>\r
     <GuidCNames Usage="SOMETIMES_CONSUMED">\r
-      <GuidCName>PeiPerformanceHob</GuidCName>\r
+      <GuidCName>gPeiPerformanceHobGuid</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
   </Externs>\r
-  <PcdCoded xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r
+  <PcdCoded>\r
     <PcdEntry PcdItemType="FIXED_AT_BUILD">\r
       <C_Name>PcdPerformanceLibraryPropertyMask</C_Name>\r
-      <TokenSpaceGuidCName>FIX_ME_PcdPerformanceLibraryPropertyMask</TokenSpaceGuidCName>\r
-      <HelpText/>\r
+      <TokenSpaceGuidCName>gEfiMdePkgTokenSpaceGuid</TokenSpaceGuidCName>\r
+      <HelpText>The bitmask of flags that specify the enable/disable of
+                Performance Measurement.</HelpText>\r
+    </PcdEntry>\r
+    <PcdEntry PcdItemType="DYNAMIC">\r
+      <C_Name>PcdMaxPeiPerformanceLogEntries</C_Name>\r
+      <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>\r
+      <HelpText>Maximun number of performance log entries during PEI phase.</HelpText>\r
     </PcdEntry>\r
   </PcdCoded>\r
 </ModuleSurfaceArea>
\ No newline at end of file