From 3b7e958efd1c94ff2a5f5a3dd7543b206b102690 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Wed, 19 May 2010 03:33:07 +0000 Subject: [PATCH] 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 --- PerformancePkg/PerformancePkg.dsc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/PerformancePkg/PerformancePkg.dsc b/PerformancePkg/PerformancePkg.dsc index 8d3d5f5d77..77219a7f70 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 -- 2.39.2