]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Metronome/Metronome.c
Code scrub for Metronome driver.
[mirror_edk2.git] / MdeModulePkg / Universal / Metronome / Metronome.c
index 9ce6c9cf74272c833fff278c3057ba64863a5343..ce15e3a6e82b33e47536eeb4c0d88a560f8e0f0c 100644 (file)
@@ -22,22 +22,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 **/\r
 \r
-#include <PiDxe.h>\r
-#include <Protocol/Metronome.h>\r
-#include <Library/UefiBootServicesTableLib.h>\r
-#include <Library/TimerLib.h>\r
-#include <Library/DebugLib.h>\r
-\r
-//\r
-// Function Prototypes\r
-//\r
-EFI_STATUS\r
-EFIAPI\r
-WaitForTick (\r
-  IN EFI_METRONOME_ARCH_PROTOCOL  *This,\r
-  IN UINT32                       TickNumber\r
-  );\r
-\r
 //\r
 // Handle for the Metronome Architectural Protocol instance produced by this driver\r
 //\r
@@ -52,6 +36,9 @@ EFI_METRONOME_ARCH_PROTOCOL mMetronome = {
 };\r
 \r
 /**\r
+  Waits for the specified number of ticks.\r
+  \r
+  This function implements EFI_METRONOME_ARCH_PROTOCOL.WaitForTick().\r
   The WaitForTick() function waits for the number of ticks specified by \r
   TickNumber from a known time source in the platform.  If TickNumber of \r
   ticks are detected, then EFI_SUCCESS is returned.  The actual time passed \r