2013-01-25 12:28:06 +01:00
|
|
|
#/** @file
|
|
|
|
# Timer library implementation
|
2014-08-19 15:29:52 +02:00
|
|
|
#
|
|
|
|
#
|
2013-01-25 12:28:06 +01:00
|
|
|
# Copyright (c) 2011, ARM Ltd. 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
|
2014-08-19 15:29:52 +02:00
|
|
|
#
|
2013-01-25 12:28:06 +01:00
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
2014-08-19 15:29:52 +02:00
|
|
|
#
|
2013-01-25 12:28:06 +01:00
|
|
|
#**/
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = SP804TimerLib
|
2014-08-19 15:29:52 +02:00
|
|
|
FILE_GUID = 09cefa99-0d07-487f-a651-fb44f094b1c7
|
2013-01-25 12:28:06 +01:00
|
|
|
MODULE_TYPE = BASE
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
LIBRARY_CLASS = TimerLib
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2013-01-25 12:28:06 +01:00
|
|
|
CONSTRUCTOR = TimerConstructor
|
|
|
|
|
|
|
|
[Sources.common]
|
|
|
|
SP804TimerLib.c
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
ArmPkg/ArmPkg.dec
|
|
|
|
ArmPlatformPkg/ArmPlatformPkg.dec
|
|
|
|
EmbeddedPkg/EmbeddedPkg.dec
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
DebugLib
|
|
|
|
IoLib
|
|
|
|
BaseLib
|
|
|
|
|
|
|
|
[Pcd]
|
|
|
|
gArmPlatformTokenSpaceGuid.PcdSP804TimerFrequencyInMHz
|
|
|
|
gArmPlatformTokenSpaceGuid.PcdSP804TimerPerformanceBase
|
|
|
|
gArmPlatformTokenSpaceGuid.PcdSP804TimerMetronomeBase
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz
|