X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=PerformancePkg%2FPerformancePkg.dsc;h=ea3838794869f0756c1317ce9f4e0104691c27c1;hp=026803ab14f3e692efba7215c6c1cab7304313ab;hb=d50f6f8be8e2a738ac1422364963a6936e02d13d;hpb=c06ad33ed2fbbacdba42baf07f5d3fd41b36781d
diff --git a/PerformancePkg/PerformancePkg.dsc b/PerformancePkg/PerformancePkg.dsc
index 026803ab14..ea38387948 100644
--- a/PerformancePkg/PerformancePkg.dsc
+++ b/PerformancePkg/PerformancePkg.dsc
@@ -1,7 +1,7 @@
#/** @file
# Build description file to generate Shell DP application.
#
-# Copyright (c) 2009-2010, Intel Corporation. All rights reserved.
+# Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
@@ -35,6 +35,7 @@
UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
+ HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
@@ -49,6 +50,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
@@ -56,13 +61,15 @@
# that is different than the one below.
#
# TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
- TimerLib|PerformancePkg/Library/TscTimerLib/TscTimerLib.inf
- PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
- PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
+ TimerLib|PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.inf
[LibraryClasses.IPF]
PalLib|MdePkg/Library/UefiPalLib/UefiPalLib.inf
+ TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
+
+[Components.IA32, Components.X64]
+ PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.inf
+ PerformancePkg/Library/PeiTscTimerLib/PeiTscTimerLib.inf
[Components]
- PerformancePkg/Library/TscTimerLib/TscTimerLib.inf
PerformancePkg/Dp_App/Dp.inf