]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseTimerLibLocalApic/BaseTimerLibLocalApic.msa
Make EDK Module Package pass Intel IPF compiler with /Ox switch.
[mirror_edk2.git] / MdePkg / Library / BaseTimerLibLocalApic / BaseTimerLibLocalApic.msa
index b056c8d9f404abc76b0257dc84648389a31ce19f..539021dd93ed9048492bde16f02b46badc441bde 100644 (file)
@@ -1,59 +1,64 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!--\r
-Copyright (c) 2006, Intel Corporation\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
-\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
-<LibraryModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.TianoCore.org/2006/Edk2.0  http://www.TianoCore.org/2006/Edk2.0/SurfaceArea.xsd">\r
-  <MsaLibHeader>\r
-    <BaseName>BaseTimerLibLocalApic</BaseName>\r
+<?xml version="1.0" encoding="UTF-8"?>\r
+<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r
+  <MsaHeader>\r
+    <ModuleName>BaseTimerLibLocalApic</ModuleName>\r
     <ModuleType>BASE</ModuleType>\r
-    <ComponentType>LIBRARY</ComponentType>\r
-    <Guid>b5a05743-9b71-489b-a0ed-a0eb3950d23b</Guid>\r
-    <Version>0</Version>\r
-    <Abstract>Component description file for the entry point to a EFIDXE Drivers</Abstract>\r
-    <Description>FIX ME!</Description>\r
-    <Copyright>Copyright (c) 2004-2006, Intel Corporation</Copyright>\r
-    <License>\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
-    </License>\r
-    <Created>2006-03-13 16:57</Created>\r
-    <Updated>2006-03-19 15:17</Updated>\r
-    <Specification>0</Specification>\r
-  </MsaLibHeader>\r
+    <GuidValue>b5a05743-9b71-489b-a0ed-a0eb3950d23b</GuidValue>\r
+    <Version>1.0</Version>\r
+    <Abstract>Component description file for Baser Timer Library</Abstract>\r
+    <Description>Timer Library that only uses CPU resources to provide calibrated
+      delays on IA-32 and x64. Note: Because CpuLocalApci timer could be programmed
+      by OS, it cannot be used by SMM drivers and runtime drivers, ACPI timer is
+      recommended for SMM drivers and runtime drivers.</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
+      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.</License>\r
+    <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION   0x00000052</Specification>\r
+  </MsaHeader>\r
+  <ModuleDefinitions>\r
+    <SupportedArchitectures>IA32 X64 IPF EBC</SupportedArchitectures>\r
+    <BinaryModule>false</BinaryModule>\r
+    <OutputFileBasename>BaseTimerLibLocalApic</OutputFileBasename>\r
+  </ModuleDefinitions>\r
   <LibraryClassDefinitions>\r
-    <LibraryClass Usage="ALWAYS_PRODUCED">TimerLib</LibraryClass>\r
-    <LibraryClass Usage="ALWAYS_CONSUMED">BaseLib</LibraryClass>\r
-    <LibraryClass Usage="ALWAYS_CONSUMED">IoLib</LibraryClass>\r
-    <LibraryClass Usage="ALWAYS_CONSUMED">DebugLib</LibraryClass>\r
+    <LibraryClass Usage="ALWAYS_PRODUCED">\r
+      <Keyword>TimerLib</Keyword>\r
+    </LibraryClass>\r
+    <LibraryClass Usage="ALWAYS_CONSUMED">\r
+      <Keyword>BaseLib</Keyword>\r
+    </LibraryClass>\r
+    <LibraryClass Usage="ALWAYS_CONSUMED">\r
+      <Keyword>IoLib</Keyword>\r
+    </LibraryClass>\r
+    <LibraryClass Usage="ALWAYS_CONSUMED">\r
+      <Keyword>DebugLib</Keyword>\r
+    </LibraryClass>\r
+    <LibraryClass Usage="ALWAYS_CONSUMED">\r
+      <Keyword>PcdLib</Keyword>\r
+    </LibraryClass>\r
   </LibraryClassDefinitions>\r
   <SourceFiles>\r
-    <Arch ArchType="IA32">\r
-      <Filename>x86TimerLib.c</Filename>\r
-    </Arch>\r
-    <Arch ArchType="X64">\r
-      <Filename>x86TimerLib.c</Filename>\r
-    </Arch>\r
-    <Arch ArchType="IPF">\r
-      <Filename>Ipf/CallPalProc.s</Filename>\r
-      <Filename>Ipf/ReadItc.s</Filename>\r
-      <Filename>Ipf/IpfTimerLib.c</Filename>\r
-    </Arch>\r
-    <Arch ArchType="EBC">\r
-      <Filename>Ebc/EbcTimerLib.c</Filename>\r
-    </Arch>\r
+    <Filename SupArchList="IA32">x86TimerLib.c</Filename>\r
+    <Filename SupArchList="X64">x86TimerLib.c</Filename>\r
+    <Filename SupArchList="IPF">Ipf/IpfTimerLib.c</Filename>\r
+    <Filename SupArchList="EBC">Ebc/EbcTimerLib.c</Filename>\r
   </SourceFiles>\r
-  <Includes>\r
-    <PackageName>MdePkg</PackageName>\r
-  </Includes>\r
-</LibraryModuleSurfaceArea>\r
+  <PackageDependencies>\r
+    <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>\r
+  </PackageDependencies>\r
+  <Externs>\r
+    <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>\r
+    <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>\r
+  </Externs>\r
+  <PcdCoded>\r
+    <PcdEntry PcdItemType="FIXED_AT_BUILD" Usage="ALWAYS_CONSUMED">\r
+      <C_Name>PcdFSBClock</C_Name>\r
+      <TokenSpaceGuidCName>gEfiMdePkgTokenSpaceGuid</TokenSpaceGuidCName>\r
+      <HelpText>This value is FSB Clock frequency. Its unit is Hz and its default value is 200000000, that means FSB frequency is 200Mhz.</HelpText>\r
+    </PcdEntry>\r
+  </PcdCoded>\r
+</ModuleSurfaceArea>
\ No newline at end of file