1 | ## @file
|
---|
2 | # Standalone MM 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 | # Copyright (c) Microsoft Corporation.
|
---|
12 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
13 | #
|
---|
14 | ##
|
---|
15 |
|
---|
16 | [Defines]
|
---|
17 | INF_VERSION = 0x00010005
|
---|
18 | BASE_NAME = StandaloneMmAcpiTimerLib
|
---|
19 | FILE_GUID = C771858D-AF09-4D1A-B2F3-C7F081C3F076
|
---|
20 | MODULE_TYPE = MM_STANDALONE
|
---|
21 | VERSION_STRING = 1.0
|
---|
22 | PI_SPECIFICATION_VERSION = 0x00010032
|
---|
23 | LIBRARY_CLASS = TimerLib|MM_CORE_STANDALONE MM_STANDALONE
|
---|
24 | CONSTRUCTOR = StandaloneMmAcpiTimerLibConstructor
|
---|
25 |
|
---|
26 | [Sources]
|
---|
27 | AcpiTimerLib.c
|
---|
28 | StandaloneMmAcpiTimerLib.c
|
---|
29 | DxeStandaloneMmAcpiTimerLib.c
|
---|
30 | DxeStandaloneMmAcpiTimerLib.h
|
---|
31 |
|
---|
32 | [Packages]
|
---|
33 | MdePkg/MdePkg.dec
|
---|
34 | PcAtChipsetPkg/PcAtChipsetPkg.dec
|
---|
35 |
|
---|
36 | [LibraryClasses]
|
---|
37 | BaseLib
|
---|
38 | PcdLib
|
---|
39 | PciLib
|
---|
40 | IoLib
|
---|
41 | DebugLib
|
---|
42 | HobLib
|
---|
43 |
|
---|
44 | [Pcd]
|
---|
45 | gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBusNumber ## CONSUMES
|
---|
46 | gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciDeviceNumber ## CONSUMES
|
---|
47 | gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciFunctionNumber ## CONSUMES
|
---|
48 | gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciEnableRegisterOffset ## CONSUMES
|
---|
49 | gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoBarEnableMask ## CONSUMES
|
---|
50 | gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBarRegisterOffset ## CONSUMES
|
---|
51 | gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPortBaseAddress ## CONSUMES
|
---|
52 | gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiPm1TmrOffset ## CONSUMES
|
---|
53 | gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPortBaseAddressMask ## CONSUMES
|
---|