diff options
author | lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-02-15 02:02:06 +0000 |
---|---|---|
committer | lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-02-15 02:02:06 +0000 |
commit | d50f6f8be8e2a738ac1422364963a6936e02d13d (patch) | |
tree | a1db29a793ca850a24a1b14f94195d2285296ca3 /PerformancePkg/PerformancePkg.dsc | |
parent | b7bc11a4ff619ad03fce5b76b9c957563b16d2d8 (diff) | |
download | edk2-d50f6f8be8e2a738ac1422364963a6936e02d13d.zip edk2-d50f6f8be8e2a738ac1422364963a6936e02d13d.tar.gz edk2-d50f6f8be8e2a738ac1422364963a6936e02d13d.tar.bz2 |
TscTimerLib in PerformancePkg is a BASE type library, which should be used by any module type.
But its constructor uses the global variable mTscFrequency to store frequency, which doesn't work on XIP PEIM.
Split it to two LIBs for PEI and DXE separately.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11312 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'PerformancePkg/PerformancePkg.dsc')
-rw-r--r-- | PerformancePkg/PerformancePkg.dsc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/PerformancePkg/PerformancePkg.dsc b/PerformancePkg/PerformancePkg.dsc index 414c17e..ea38387 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.<BR>
+# Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
# 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
@@ -60,14 +61,15 @@ # that is different than the one below.
#
# TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
- TimerLib|PerformancePkg/Library/TscTimerLib/TscTimerLib.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/TscTimerLib/TscTimerLib.inf
+ PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.inf
+ PerformancePkg/Library/PeiTscTimerLib/PeiTscTimerLib.inf
[Components]
PerformancePkg/Dp_App/Dp.inf
|