]> git.proxmox.com Git - mirror_edk2.git/blobdiff - PerformancePkg/PerformancePkg.dsc
Move TscTimerLib library to correct CPU ARCH as it depends on BaseLib API AsmReadTsc...
[mirror_edk2.git] / 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