add <SupModuleList> in <LibraryClass> item for TimerLib. Inform build tool this timer instance cannot support SMM drivers and RUNTIME drivers

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2146 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff 2006-12-28 06:13:22 +00:00
parent 20515cd1aa
commit f3825a180a
1 changed files with 4 additions and 2 deletions

View File

@ -7,7 +7,9 @@
<Version>1.0</Version> <Version>1.0</Version>
<Abstract>Component description file for Baser Timer Library</Abstract> <Abstract>Component description file for Baser Timer Library</Abstract>
<Description>Timer Library that only uses CPU resources to provide calibrated <Description>Timer Library that only uses CPU resources to provide calibrated
delays on IA-32 and x64.</Description> 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>
<Copyright>Copyright (c) 2006, Intel Corporation.</Copyright> <Copyright>Copyright (c) 2006, Intel Corporation.</Copyright>
<License>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 are licensed and made available under the terms and conditions of the BSD License
@ -23,7 +25,7 @@
<OutputFileBasename>BaseTimerLibLocalApic</OutputFileBasename> <OutputFileBasename>BaseTimerLibLocalApic</OutputFileBasename>
</ModuleDefinitions> </ModuleDefinitions>
<LibraryClassDefinitions> <LibraryClassDefinitions>
<LibraryClass Usage="ALWAYS_PRODUCED"> <LibraryClass Usage="ALWAYS_PRODUCED" SupModuleList="BASE SEC PEI_CORE PEIM DXE_CORE DXE_DRIVER UEFI_DRIVER UEFI_APPLICATION">
<Keyword>TimerLib</Keyword> <Keyword>TimerLib</Keyword>
</LibraryClass> </LibraryClass>
<LibraryClass Usage="ALWAYS_CONSUMED"> <LibraryClass Usage="ALWAYS_CONSUMED">