]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmbeddedPkg/MetronomeDxe/Metronome.c
EmbeddedPkg/MetronomeDxe: Replaced hardcoded Tick Period by PcdMetronomeTickPeriod
[mirror_edk2.git] / EmbeddedPkg / MetronomeDxe / Metronome.c
index 861bf249cd146b8c644c21c8ca04bc5785b325cc..8388c4d1989caa4db8e901a82c7e7aaf6f57b9aa 100644 (file)
@@ -1,8 +1,9 @@
 /** @file\r
 \r
-  Copyright (c) 2008-2009, Apple Inc. All rights reserved.\r
+  Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
+  Copyright (c) 2012, ARM Ltd. All rights reserved.\r
   \r
-  All rights reserved. This program and the accompanying materials\r
+  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
   http://opensource.org/licenses/bsd-license.php\r
@@ -65,7 +66,7 @@ WaitForTick (
 \r
 \r
 /**\r
-  Interface stucture for the Metronome Architectural Protocol.\r
+  Interface structure for the Metronome Architectural Protocol.\r
 \r
   @par Protocol Description:\r
   This protocol provides access to a known time source in the platform to the\r
@@ -89,7 +90,7 @@ WaitForTick (
 **/\r
 EFI_METRONOME_ARCH_PROTOCOL gMetronome = {\r
   WaitForTick,\r
-  100              \r
+  FixedPcdGet32 (PcdMetronomeTickPeriod)\r
 };\r
 \r
 \r