summaryrefslogtreecommitdiff
path: root/MdePkg/Library/SecPeiDxeTimerLibCpu
diff options
context:
space:
mode:
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-11 07:06:56 +0000
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-11 07:06:56 +0000
commit7687d3a83591370a104684d244c9cecb4e1499b8 (patch)
treea2e50710de8db6559bd16b06e201a8b3f290a67b /MdePkg/Library/SecPeiDxeTimerLibCpu
parent36093af9dfe8e993630267faac71610c348b8820 (diff)
downloadedk2-platforms-7687d3a83591370a104684d244c9cecb4e1499b8.tar.xz
modify coding style to pass ecc tool and provide comments that complied with Doxgen.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5452 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/SecPeiDxeTimerLibCpu')
-rw-r--r--MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c1
-rw-r--r--MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf4
-rw-r--r--MdePkg/Library/SecPeiDxeTimerLibCpu/X86TimerLib.c (renamed from MdePkg/Library/SecPeiDxeTimerLibCpu/x86TimerLib.c)6
3 files changed, 3 insertions, 8 deletions
diff --git a/MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c b/MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c
index cb5c6d4b73..9e47772303 100644
--- a/MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c
+++ b/MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c
@@ -30,7 +30,6 @@
@param Delay Number of ticks to delay.
**/
-STATIC
VOID
InternalIpfDelay (
IN INT64 Delay
diff --git a/MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf b/MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
index 377d269a8f..059fff16d6 100644
--- a/MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
+++ b/MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
@@ -34,10 +34,10 @@
#
[Sources.Ia32]
- x86TimerLib.c
+ X86TimerLib.c
[Sources.X64]
- x86TimerLib.c
+ X86TimerLib.c
[Sources.IPF]
IpfTimerLib.c
diff --git a/MdePkg/Library/SecPeiDxeTimerLibCpu/x86TimerLib.c b/MdePkg/Library/SecPeiDxeTimerLibCpu/X86TimerLib.c
index 263ce9a2ec..99b75d5251 100644
--- a/MdePkg/Library/SecPeiDxeTimerLibCpu/x86TimerLib.c
+++ b/MdePkg/Library/SecPeiDxeTimerLibCpu/X86TimerLib.c
@@ -1,7 +1,7 @@
/** @file
Timer Library functions built upon local APIC on IA32/x64.
- Copyright (c) 2006 - 2007, Intel Corporation<BR>
+ Copyright (c) 2006 - 2008, Intel Corporation<BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -40,7 +40,6 @@ CONST UINT8 mTimerLibLocalApicDivisor[] = {
@return The base address of local APIC
**/
-STATIC
UINTN
InternalX86GetApicBase (
VOID
@@ -59,7 +58,6 @@ InternalX86GetApicBase (
@return The frequency of the timer in Hz.
**/
-STATIC
UINT32
InternalX86GetTimerFrequency (
IN UINTN ApicBase
@@ -80,7 +78,6 @@ InternalX86GetTimerFrequency (
@return The tick counter read.
**/
-STATIC
INT32
InternalX86GetTimerTick (
IN UINTN ApicBase
@@ -99,7 +96,6 @@ InternalX86GetTimerTick (
@param Delay A period of time to delay in ticks.
**/
-STATIC
VOID
InternalX86Delay (
IN UINTN ApicBase,