]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Metronome/Metronome.inf
1. Correct File header to ## @file
[mirror_edk2.git] / MdeModulePkg / Universal / Metronome / Metronome.inf
index 9f776ceb29bcddff2a7bc364130ee531cc6d0bfa..d47cfc7ac9bbe1817d5b2072dad4870f54e8a4cb 100644 (file)
@@ -1,6 +1,17 @@
-#/*++\r
-# \r
-# Copyright (c) 2008, Intel Corporation                                                         \r
+## @file\r
+# This module produces the Metronome Architectural Protocol on top of Timer Library.\r
+#\r
+# This is a generic implementation of the Metronome Architectural Protocol that\r
+# layers on top of an instance of the Timer Library.  The Timer Library provides\r
+# functions for nanosecond and microsecond delays.  This generic implementation\r
+# produces a fixed TickPeriod of 100ns unit, and when the WaitForTick() service\r
+# is called, the number of ticks passed in is converted to either nanosecond or\r
+# microsecond units.  If the number of ticks is small, then nanoseconds are used.\r
+# If the number of ticks is large, then microseconds are used.  This prevents\r
+# overflows that could occur for long delays if only nanoseconds were used and also\r
+# provides the greatest accuracy for small delays. \r
+#\r
+# Copyright (c) 2008 - 2010, Intel Corporation                                                         \r
 # All rights reserved. This program and the accompanying materials                          \r
 # are licensed and made available under the terms and conditions of the BSD License         \r
 # which accompanies this distribution.  The full text of the license may be found at        \r
@@ -9,11 +20,7 @@
 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
 #\r
-#  Module Name:\r
-#\r
-#  Abstract:\r
-#\r
-#--*/\r
+##\r
 \r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   FILE_GUID                      = C8339973-A563-4561-B858-D8476F9DEFC4\r
   MODULE_TYPE                    = DXE_DRIVER\r
   VERSION_STRING                 = 1.0\r
-  EDK_RELEASE_VERSION            = 0x00020000\r
-  EFI_SPECIFICATION_VERSION      = 0x00020000\r
   ENTRY_POINT                    = InstallMetronome\r
 \r
+#\r
+# The following information is for reference only and not required by the build tools.\r
+#\r
+#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
+#\r
+\r
 [Packages]\r
   MdePkg/MdePkg.dec\r
 \r
   TimerLib\r
   DebugLib\r
 \r
-[Sources.common]\r
+[Sources]\r
   Metronome.c\r
+  Metronome.h\r
 \r
 [Protocols]\r
-  gEfiMetronomeArchProtocolGuid\r
+  gEfiMetronomeArchProtocolGuid      ## PRODUCES\r
 \r
 [Depex]\r
   TRUE\r