]>
Commit | Line | Data |
---|---|---|
1 | ## @file\r | |
2 | # This module produces the Metronome Architectural Protocol on top of Timer Library.\r | |
3 | #\r | |
4 | # This is a generic implementation of the Metronome Architectural Protocol that\r | |
5 | # layers on top of an instance of the Timer Library. The Timer Library provides\r | |
6 | # functions for nanosecond and microsecond delays. This generic implementation\r | |
7 | # produces a fixed TickPeriod of 100ns unit, and when the WaitForTick() service\r | |
8 | # is called, the number of ticks passed in is converted to either nanosecond or\r | |
9 | # microsecond units. If the number of ticks is small, then nanoseconds are used.\r | |
10 | # If the number of ticks is large, then microseconds are used. This prevents\r | |
11 | # overflows that could occur for long delays if only nanoseconds were used and also\r | |
12 | # provides the greatest accuracy for small delays.\r | |
13 | #\r | |
14 | # Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>\r | |
15 | # This program and the accompanying materials\r | |
16 | # are licensed and made available under the terms and conditions of the BSD License\r | |
17 | # which accompanies this distribution. The full text of the license may be found at\r | |
18 | # http://opensource.org/licenses/bsd-license.php\r | |
19 | #\r | |
20 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
21 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
22 | #\r | |
23 | ##\r | |
24 | \r | |
25 | [Defines]\r | |
26 | INF_VERSION = 0x00010005\r | |
27 | BASE_NAME = Metronome\r | |
28 | MODULE_UNI_FILE = Metronome.uni\r | |
29 | FILE_GUID = C8339973-A563-4561-B858-D8476F9DEFC4\r | |
30 | MODULE_TYPE = DXE_DRIVER\r | |
31 | VERSION_STRING = 1.0\r | |
32 | ENTRY_POINT = InstallMetronome\r | |
33 | \r | |
34 | #\r | |
35 | # The following information is for reference only and not required by the build tools.\r | |
36 | #\r | |
37 | # VALID_ARCHITECTURES = IA32 X64 EBC\r | |
38 | #\r | |
39 | \r | |
40 | [Packages]\r | |
41 | MdePkg/MdePkg.dec\r | |
42 | \r | |
43 | [LibraryClasses]\r | |
44 | UefiDriverEntryPoint\r | |
45 | UefiBootServicesTableLib\r | |
46 | TimerLib\r | |
47 | DebugLib\r | |
48 | \r | |
49 | [Sources]\r | |
50 | Metronome.c\r | |
51 | Metronome.h\r | |
52 | \r | |
53 | [Protocols]\r | |
54 | gEfiMetronomeArchProtocolGuid ## PRODUCES\r | |
55 | \r | |
56 | [Depex]\r | |
57 | TRUE\r | |
58 | \r | |
59 | [UserExtensions.TianoCore."ExtraFiles"]\r | |
60 | MetronomeExtra.uni\r |