summaryrefslogtreecommitdiff
path: root/PerformancePkg/Library/TscTimerLib
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2014-12-01 08:17:51 +0000
committerlgao4 <lgao4@Edk2>2014-12-01 08:17:51 +0000
commitc1589a2c24abbc026120e3b045f9045448f64b2d (patch)
tree29d6d617363131244386f73aed40a631cd4a27fa /PerformancePkg/Library/TscTimerLib
parent71f02911b176657c1c8dc952f93a022719ea878a (diff)
downloadedk2-platforms-c1589a2c24abbc026120e3b045f9045448f64b2d.tar.xz
PerformancePkg: Update comments on TscTimerLib
TscTimerLib is a sample implementation that depends on chipset ACPI timer. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16457 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'PerformancePkg/Library/TscTimerLib')
-rw-r--r--PerformancePkg/Library/TscTimerLib/BaseTscTimerLib.inf6
-rw-r--r--PerformancePkg/Library/TscTimerLib/DxeTscTimerLib.inf6
-rw-r--r--PerformancePkg/Library/TscTimerLib/PeiTscTimerLib.inf6
3 files changed, 15 insertions, 3 deletions
diff --git a/PerformancePkg/Library/TscTimerLib/BaseTscTimerLib.inf b/PerformancePkg/Library/TscTimerLib/BaseTscTimerLib.inf
index 3d53b21db7..daae8a2580 100644
--- a/PerformancePkg/Library/TscTimerLib/BaseTscTimerLib.inf
+++ b/PerformancePkg/Library/TscTimerLib/BaseTscTimerLib.inf
@@ -4,6 +4,10 @@
# Note: There will be 1ms penalty to get TSC frequency every time
# by waiting for 3579 clocks of the ACPI timer, or 1ms.
#
+# Note: This library is a sample implementation that depends on chipset ACPI timer.
+# It may not work on new generation chipset. PcAtChipsetPkg AcpiTimerLib is
+# the generic timer library that can replace this one.
+#
# A version of the Timer Library using the processor's TSC.
# The time stamp counter in newer processors may support an enhancement, referred to as invariant TSC.
# The invariant TSC runs at a constant rate in all ACPI P-, C-. and T-states.
@@ -11,7 +15,7 @@
# TSC reads are much more efficient and do not incur the overhead associated with a ring transition or
# access to a platform resource.
#
-# Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2009 - 2014, 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
diff --git a/PerformancePkg/Library/TscTimerLib/DxeTscTimerLib.inf b/PerformancePkg/Library/TscTimerLib/DxeTscTimerLib.inf
index 1de9904017..e58aeac2eb 100644
--- a/PerformancePkg/Library/TscTimerLib/DxeTscTimerLib.inf
+++ b/PerformancePkg/Library/TscTimerLib/DxeTscTimerLib.inf
@@ -1,6 +1,10 @@
## @file
# Dxe Timer Library which uses the Time Stamp Counter in the processor.
#
+# Note: This library is a sample implementation that depends on chipset ACPI timer.
+# It may not work on new generation chipset. PcAtChipsetPkg AcpiTimerLib is
+# the generic timer library that can replace this one.
+#
# A version of the Timer Library using the processor's TSC.
# The time stamp counter in newer processors may support an enhancement, referred to as invariant TSC.
# The invariant TSC runs at a constant rate in all ACPI P-, C-. and T-states.
@@ -8,7 +12,7 @@
# TSC reads are much more efficient and do not incur the overhead associated with a ring transition or
# access to a platform resource.
#
-# Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2009 - 2014, 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
diff --git a/PerformancePkg/Library/TscTimerLib/PeiTscTimerLib.inf b/PerformancePkg/Library/TscTimerLib/PeiTscTimerLib.inf
index c921272585..3f39d84e07 100644
--- a/PerformancePkg/Library/TscTimerLib/PeiTscTimerLib.inf
+++ b/PerformancePkg/Library/TscTimerLib/PeiTscTimerLib.inf
@@ -1,6 +1,10 @@
## @file
# Pei Timer Library which uses the Time Stamp Counter in the processor.
#
+# Note: This library is a sample implementation that depends on chipset ACPI timer.
+# It may not work on new generation chipset. PcAtChipsetPkg AcpiTimerLib is
+# the generic timer library that can replace this one.
+#
# A version of the Timer Library using the processor's TSC.
# The time stamp counter in newer processors may support an enhancement, referred to as invariant TSC.
# The invariant TSC runs at a constant rate in all ACPI P-, C-. and T-states.
@@ -8,7 +12,7 @@
# TSC reads are much more efficient and do not incur the overhead associated with a ring transition or
# access to a platform resource.
#
-# Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2009 - 2014, 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