• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#/** @file
2# Timer library implementation
3#
4#
5#  Copyright (c) 2011, ARM Ltd. All rights reserved.<BR>
6#  This program and the accompanying materials
7#  are licensed and made available under the terms and conditions of the BSD License
8#  which accompanies this distribution.  The full text of the license may be found at
9#  http://opensource.org/licenses/bsd-license.php
10#
11#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13#
14#**/
15
16[Defines]
17  INF_VERSION                    = 0x00010005
18  BASE_NAME                      = SP804TimerLib
19  FILE_GUID                      = 09cefa99-0d07-487f-a651-fb44f094b1c7
20  MODULE_TYPE                    = BASE
21  VERSION_STRING                 = 1.0
22  LIBRARY_CLASS                  = TimerLib
23
24  CONSTRUCTOR                    = TimerConstructor
25
26[Sources.common]
27  SP804TimerLib.c
28
29[Packages]
30  MdePkg/MdePkg.dec
31  ArmPkg/ArmPkg.dec
32  ArmPlatformPkg/ArmPlatformPkg.dec
33  EmbeddedPkg/EmbeddedPkg.dec
34
35[LibraryClasses]
36  DebugLib
37  IoLib
38  BaseLib
39
40[Pcd]
41  gArmPlatformTokenSpaceGuid.PcdSP804TimerFrequencyInMHz
42  gArmPlatformTokenSpaceGuid.PcdSP804TimerPerformanceBase
43  gArmPlatformTokenSpaceGuid.PcdSP804TimerMetronomeBase
44  gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz
45