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.dec | |
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.dec')
-rw-r--r-- | PerformancePkg/PerformancePkg.dec | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/PerformancePkg/PerformancePkg.dec b/PerformancePkg/PerformancePkg.dec index 52091b6..44f1f10 100644 --- a/PerformancePkg/PerformancePkg.dec +++ b/PerformancePkg/PerformancePkg.dec @@ -2,7 +2,7 @@ # Build description file to generate Shell DP application and
# Performance Libraries.
#
-# 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
@@ -28,6 +28,9 @@ # 669346ef-fdad-4aeb-a608-7def3f2d4621
gPerformancePkgTokenSpaceGuid = { 0x669346ef, 0xFDad, 0x4aeb, { 0x08, 0xa6, 0x21, 0x46, 0x2d, 0x3f, 0xef, 0x7d }}
+ ## Include/Guid/TscFrequency.h
+ gEfiTscFrequencyGuid = { 0xdba6a7e3, 0xbb57, 0x4be7, { 0x8a, 0xf8, 0xd5, 0x78, 0xdb, 0x7e, 0x56, 0x87 }}
+
[PcdsFixedAtBuild.common]
## The base address of the ACPI registers within the ICH PCI space.
# This space must be 128-byte aligned.
|