]> git.proxmox.com Git - mirror_edk2.git/blobdiff - PerformancePkg/Library/TscTimerLib/TscTimerLib.c
Refine code to make code follow the coding style.
[mirror_edk2.git] / PerformancePkg / Library / TscTimerLib / TscTimerLib.c
index 19151a4e9b8b9996d99f3f577a7508665bcd82d8..69d93ce5f3edf1672d34fc78eafa908c069e30f2 100644 (file)
@@ -15,9 +15,9 @@
   duration of each clock tick is uniform and supports the use of the TSC as a wall clock timer even if\r
   the processor core changes frequency.  This is the architectural behavior moving forward.\r
 \r
-  A Processor\92s support for invariant TSC is indicated by CPUID.0x80000007.EDX[8].\r
+  A Processor's support for invariant TSC is indicated by CPUID.0x80000007.EDX[8].\r
 \r
-  Copyright (c) 2009-2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\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
 \r
 STATIC UINT64   mTscFrequency;\r
 \r
-#ifndef R_ICH_ACPI_PM1_TMR\r
-#define R_ICH_ACPI_PM1_TMR  R_ACPI_PM1_TMR\r
-#endif\r
-\r
 /** The constructor function determines the actual TSC frequency.\r
 \r
   The TSC counting frequency is determined by comparing how far it counts\r
@@ -108,7 +104,6 @@ TscTimerLibConstructor (
   @param[in]  Delay     A period of time to delay in ticks.\r
 \r
 **/\r
-STATIC\r
 VOID\r
 InternalX86Delay (\r
   IN      UINT64                    Delay\r