add <SupModuleList> in <LibraryClass> item for TimerLib. Inform build tool this timer...
authorvanjeff <vanjeff@de2fecce-e211-0410-80a6-f3fac2684e05>
Thu, 28 Dec 2006 06:13:22 +0000 (06:13 +0000)
committervanjeff <vanjeff@de2fecce-e211-0410-80a6-f3fac2684e05>
Thu, 28 Dec 2006 06:13:22 +0000 (06:13 +0000)
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2146 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/MdePkg/Library/BaseTimerLibLocalApic/BaseTimerLibLocalApic.msa

index 23479e0..1b086b2 100644 (file)
@@ -7,7 +7,9 @@
     <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.</Description>\r
+      delays on IA-32 and x64. Note: Because CpuLocalApci timer could be programmed\r
+      by OS, it cannot be used by SMM drivers and runtime drivers, ACPI timer is\r
+      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
@@ -23,7 +25,7 @@
     <OutputFileBasename>BaseTimerLibLocalApic</OutputFileBasename>\r
   </ModuleDefinitions>\r
   <LibraryClassDefinitions>\r
-    <LibraryClass Usage="ALWAYS_PRODUCED">\r
+    <LibraryClass Usage="ALWAYS_PRODUCED" SupModuleList="BASE SEC PEI_CORE PEIM DXE_CORE DXE_DRIVER UEFI_DRIVER UEFI_APPLICATION">\r
       <Keyword>TimerLib</Keyword>\r
     </LibraryClass>\r
     <LibraryClass Usage="ALWAYS_CONSUMED">\r