mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
24cd83a779
commit
3b7e958efd
|
@ -49,6 +49,10 @@
|
||||||
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
|
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
|
||||||
FileHandleLib|ShellPkg/Library/BaseFileHandleLib/BaseFileHandleLib.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.
|
# This library instance mapping needs adjusting based on platform.
|
||||||
# The TimerLib instance must match the TimerLib the platform was built with.
|
# 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
|
# 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|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
|
||||||
TimerLib|PerformancePkg/Library/TscTimerLib/TscTimerLib.inf
|
TimerLib|PerformancePkg/Library/TscTimerLib/TscTimerLib.inf
|
||||||
PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
|
|
||||||
PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
|
|
||||||
|
|
||||||
[LibraryClasses.IPF]
|
[LibraryClasses.IPF]
|
||||||
PalLib|MdePkg/Library/UefiPalLib/UefiPalLib.inf
|
PalLib|MdePkg/Library/UefiPalLib/UefiPalLib.inf
|
||||||
|
|
||||||
[Components]
|
[Components.IA32, Components.X64]
|
||||||
PerformancePkg/Library/TscTimerLib/TscTimerLib.inf
|
PerformancePkg/Library/TscTimerLib/TscTimerLib.inf
|
||||||
|
|
||||||
|
[Components]
|
||||||
PerformancePkg/Dp_App/Dp.inf
|
PerformancePkg/Dp_App/Dp.inf
|
||||||
|
|
Loading…
Reference in New Issue