summaryrefslogtreecommitdiffstats
path: root/PcAtChipsetPkg/Library/AcpiTimerLib/PeiAcpiTimerLib.uni
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2018-01-23 10:24:04 +0800
committerLiming Gao <liming.gao@intel.com>2018-02-06 13:37:01 +0800
commitfd501a798402fdc8ce3fe4e7de3927658889b555 (patch)
tree4674645d3570e2d1f6a1263c9e4bf4ccaeda8494 /PcAtChipsetPkg/Library/AcpiTimerLib/PeiAcpiTimerLib.uni
parent84391f57955bc92fb81c81410a022bed4d3304b3 (diff)
downloadedk2-fd501a798402fdc8ce3fe4e7de3927658889b555.tar.gz
edk2-fd501a798402fdc8ce3fe4e7de3927658889b555.tar.bz2
edk2-fd501a798402fdc8ce3fe4e7de3927658889b555.zip
PcAtChipsetPkg: Add PeiAcpiTimerLib to save Frequency in HOB
In V2: 1) Update PeiAcpiTimerLib base name to PeiAcpiTimerLib 2) Update PeiAcpiTimerLib to add the missing constructor to enable ACPI IO space 3) Update DxeAcpiTimerLib to cache frequency in constructor. PeiAcpiTimerLib caches PerformanceCounterFrequency in HOB, then Pei and Dxe AcpiTimerLib can share the same PerformanceCounterFrequency. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com> Cc: Star Zeng <star.zeng@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'PcAtChipsetPkg/Library/AcpiTimerLib/PeiAcpiTimerLib.uni')
-rw-r--r--PcAtChipsetPkg/Library/AcpiTimerLib/PeiAcpiTimerLib.uni23
1 files changed, 23 insertions, 0 deletions
diff --git a/PcAtChipsetPkg/Library/AcpiTimerLib/PeiAcpiTimerLib.uni b/PcAtChipsetPkg/Library/AcpiTimerLib/PeiAcpiTimerLib.uni
new file mode 100644
index 0000000000..668161b14a
--- /dev/null
+++ b/PcAtChipsetPkg/Library/AcpiTimerLib/PeiAcpiTimerLib.uni
@@ -0,0 +1,23 @@
+// /** @file
+// PEI ACPI Timer Library
+//
+// Provides basic timer support using the ACPI timer hardware. The performance
+// counter features are provided by the processors time stamp counter.
+//
+// Copyright (c) 2018, 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
+// http://opensource.org/licenses/bsd-license.php
+//
+// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+//
+// **/
+
+
+#string STR_MODULE_ABSTRACT #language en-US "ACPI Timer Library"
+
+#string STR_MODULE_DESCRIPTION #language en-US "Provides basic timer support using the ACPI timer hardware."
+