]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Move TscTimerLib library to correct CPU ARCH as it depends on BaseLib API AsmReadTsc...
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 19 May 2010 03:33:07 +0000 (03:33 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 19 May 2010 03:33:07 +0000 (03:33 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10516 6f19259b-4bc3-4df7-8a09-765794883524

PerformancePkg/PerformancePkg.dsc

index 8d3d5f5d77ce9aa36e24aa9455c6fe5fea4e736e..77219a7f700108acb578982c6117c703f73098e9 100644 (file)
   ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
   FileHandleLib|ShellPkg/Library/BaseFileHandleLib/BaseFileHandleLib.inf\r
 \r
+  PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
+  PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
+\r
+[LibraryClasses.IA32, LibraryClasses.X64]\r
   # This library instance mapping needs adjusting based on platform.\r
   # The TimerLib instance must match the TimerLib the platform was built with.\r
   # If the platform was built with more than one TimerLib type, then this utility\r
   #\r
   # TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf\r
   TimerLib|PerformancePkg/Library/TscTimerLib/TscTimerLib.inf\r
-  PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
-  PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
 \r
 [LibraryClasses.IPF]\r
   PalLib|MdePkg/Library/UefiPalLib/UefiPalLib.inf\r
 \r
-[Components]\r
+[Components.IA32, Components.X64]\r
   PerformancePkg/Library/TscTimerLib/TscTimerLib.inf\r
+\r
+[Components]\r
   PerformancePkg/Dp_App/Dp.inf\r