summaryrefslogtreecommitdiff
path: root/PerformancePkg
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2010-05-19 03:33:07 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2010-05-19 03:33:07 +0000
commit3b7e958efd1c94ff2a5f5a3dd7543b206b102690 (patch)
tree391630328d376cbc3dcc0a7e8e94db327230ba09 /PerformancePkg
parent24cd83a779ffb6786dabb8b34b59ab6ef1a8c24f (diff)
Move TscTimerLib library to correct CPU ARCH as it depends on BaseLib API AsmReadTsc(), which is only available for Ia32 & x64 CPU.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10516 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'PerformancePkg')
-rw-r--r--PerformancePkg/PerformancePkg.dsc10
1 files changed, 7 insertions, 3 deletions
diff --git a/PerformancePkg/PerformancePkg.dsc b/PerformancePkg/PerformancePkg.dsc
index 8d3d5f5d7..77219a7f7 100644
--- a/PerformancePkg/PerformancePkg.dsc
+++ b/PerformancePkg/PerformancePkg.dsc
@@ -49,6 +49,10 @@
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
FileHandleLib|ShellPkg/Library/BaseFileHandleLib/BaseFileHandleLib.inf
+ PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
+ PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
+
+[LibraryClasses.IA32, LibraryClasses.X64]
# This library instance mapping needs adjusting based on platform.
# The TimerLib instance must match the TimerLib the platform was built with.
# If the platform was built with more than one TimerLib type, then this utility
@@ -57,12 +61,12 @@
#
# TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
TimerLib|PerformancePkg/Library/TscTimerLib/TscTimerLib.inf
- PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
- PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
[LibraryClasses.IPF]
PalLib|MdePkg/Library/UefiPalLib/UefiPalLib.inf
-[Components]
+[Components.IA32, Components.X64]
PerformancePkg/Library/TscTimerLib/TscTimerLib.inf
+
+[Components]
PerformancePkg/Dp_App/Dp.inf