summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2006-12-28 06:13:22 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2006-12-28 06:13:22 +0000
commitf3825a180a2297a701dda728a5f9e8dab6da65b6 (patch)
tree924e51864ff77a8bd2cef759dc605c60c1837e1c /MdePkg
parent20515cd1aa640ad62b69883b8f9b546103db502b (diff)
downloadedk2-f3825a180a2297a701dda728a5f9e8dab6da65b6.tar.gz
edk2-f3825a180a2297a701dda728a5f9e8dab6da65b6.tar.bz2
edk2-f3825a180a2297a701dda728a5f9e8dab6da65b6.zip
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
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Library/BaseTimerLibLocalApic/BaseTimerLibLocalApic.msa6
1 files changed, 4 insertions, 2 deletions
diff --git a/MdePkg/Library/BaseTimerLibLocalApic/BaseTimerLibLocalApic.msa b/MdePkg/Library/BaseTimerLibLocalApic/BaseTimerLibLocalApic.msa
index 23479e0b4f..1b086b2841 100644
--- a/MdePkg/Library/BaseTimerLibLocalApic/BaseTimerLibLocalApic.msa
+++ b/MdePkg/Library/BaseTimerLibLocalApic/BaseTimerLibLocalApic.msa
@@ -7,7 +7,9 @@
<Version>1.0</Version>
<Abstract>Component description file for Baser Timer Library</Abstract>
<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>
<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>
</ModuleDefinitions>
<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>
</LibraryClass>
<LibraryClass Usage="ALWAYS_CONSUMED">