2014-08-14 16:30:32 +02:00
|
|
|
## @file
|
2014-09-03 10:48:29 +02:00
|
|
|
# Base ACPI Timer Library
|
2014-08-14 16:30:32 +02:00
|
|
|
#
|
|
|
|
# Provides basic timer support using the ACPI timer hardware. The performance
|
2016-09-28 12:17:55 +02:00
|
|
|
# counter features are provided by the processors time stamp counter.
|
2014-08-14 16:30:32 +02:00
|
|
|
#
|
2016-09-28 12:17:55 +02:00
|
|
|
# Note: The implementation uses the lower 24-bits of the ACPI timer and
|
|
|
|
# is compatible with both 24-bit and 32-bit ACPI timers.
|
|
|
|
#
|
2018-06-27 15:12:46 +02:00
|
|
|
# Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
|
2019-04-04 01:06:35 +02:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
2014-08-14 16:30:32 +02:00
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
2014-09-03 10:48:29 +02:00
|
|
|
BASE_NAME = BaseAcpiTimerLib
|
2014-08-14 16:30:32 +02:00
|
|
|
FILE_GUID = 564DE85F-049E-4481-BF7A-CA04D2788CF9
|
|
|
|
MODULE_TYPE = BASE
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
LIBRARY_CLASS = TimerLib|SEC PEI_CORE PEIM
|
|
|
|
CONSTRUCTOR = AcpiTimerLibConstructor
|
2014-09-03 10:48:29 +02:00
|
|
|
MODULE_UNI_FILE = BaseAcpiTimerLib.uni
|
2014-08-14 16:30:32 +02:00
|
|
|
|
|
|
|
[Sources]
|
|
|
|
AcpiTimerLib.c
|
|
|
|
BaseAcpiTimerLib.c
|
2018-06-27 15:12:46 +02:00
|
|
|
|
2014-08-14 16:30:32 +02:00
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
PcAtChipsetPkg/PcAtChipsetPkg.dec
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
BaseLib
|
|
|
|
PcdLib
|
|
|
|
PciLib
|
|
|
|
IoLib
|
|
|
|
DebugLib
|
|
|
|
|
|
|
|
[Pcd]
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBusNumber ## CONSUMES
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciDeviceNumber ## CONSUMES
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciFunctionNumber ## CONSUMES
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciEnableRegisterOffset ## CONSUMES
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoBarEnableMask ## CONSUMES
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBarRegisterOffset ## CONSUMES
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPortBaseAddress ## CONSUMES
|
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiPm1TmrOffset ## CONSUMES
|
2018-06-27 15:12:46 +02:00
|
|
|
gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPortBaseAddressMask ## CONSUMES
|