1 | ## @file
|
---|
2 | # PEI ACPI Timer Library
|
---|
3 | #
|
---|
4 | # Provides basic timer support using the ACPI timer hardware. The performance
|
---|
5 | # counter features are provided by the processors time stamp counter.
|
---|
6 | #
|
---|
7 | # Note: The implementation uses the lower 24-bits of the ACPI timer and
|
---|
8 | # is compatible with both 24-bit and 32-bit ACPI timers.
|
---|
9 | #
|
---|
10 | # Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
|
---|
11 | # This program and the accompanying materials
|
---|
12 | # are licensed and made available under the terms and conditions of the BSD License
|
---|
13 | # which accompanies this distribution. The full text of the license may be found at
|
---|
14 | # http://opensource.org/licenses/bsd-license.php
|
---|
15 | #
|
---|
16 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
---|
17 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
---|
18 | #
|
---|
19 | ##
|
---|
20 |
|
---|
21 | [Defines]
|
---|
22 | INF_VERSION = 0x00010005
|
---|
23 | BASE_NAME = PeiAcpiTimerLib
|
---|
24 | FILE_GUID = 3FCA54F6-E1A2-4B20-BE76-926B4B48BFAA
|
---|
25 | MODULE_TYPE = BASE
|
---|
26 | VERSION_STRING = 1.0
|
---|
27 | LIBRARY_CLASS = TimerLib|PEI_CORE PEIM
|
---|
28 | CONSTRUCTOR = AcpiTimerLibConstructor
|
---|
29 | MODULE_UNI_FILE = PeiAcpiTimerLib.uni
|
---|
30 |
|
---|
31 | [Sources]
|
---|
32 | AcpiTimerLib.c
|
---|
33 | PeiAcpiTimerLib.c
|
---|
34 |
|
---|
35 | [Packages]
|
---|
36 | MdePkg/MdePkg.dec
|
---|
37 | PcAtChipsetPkg/PcAtChipsetPkg.dec
|
---|
38 |
|
---|
39 | [LibraryClasses]
|
---|
40 | BaseLib
|
---|
41 | PcdLib
|
---|
42 | PciLib
|
---|
43 | IoLib
|
---|
44 | DebugLib
|
---|
45 | HobLib
|
---|
46 |
|
---|
47 | [Pcd]
|
---|
48 | gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBusNumber ## CONSUMES
|
---|
49 | gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciDeviceNumber ## CONSUMES
|
---|
50 | gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciFunctionNumber ## CONSUMES
|
---|
51 | gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciEnableRegisterOffset ## CONSUMES
|
---|
52 | gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoBarEnableMask ## CONSUMES
|
---|
53 | gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBarRegisterOffset ## CONSUMES
|
---|
54 | gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPortBaseAddress ## CONSUMES
|
---|
55 | gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiPm1TmrOffset ## CONSUMES
|
---|
56 | gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPortBaseAddressMask ## CONSUMES
|
---|