summaryrefslogtreecommitdiffstats
path: root/ShellPkg
diff options
context:
space:
mode:
authorKinney, Michael D <michael.d.kinney@intel.com>2015-08-07 01:33:32 +0000
committershenshushi <shenshushi@Edk2>2015-08-07 01:33:32 +0000
commitf52e226e19c79e7276668e29c173fbf19a851a36 (patch)
tree4bc89a5cb75f2259a6dbee353e2d2496b18cb382 /ShellPkg
parenteff60c11eadb1594fbd6d8f8906c5577c9f90026 (diff)
downloadedk2-f52e226e19c79e7276668e29c173fbf19a851a36.tar.gz
edk2-f52e226e19c79e7276668e29c173fbf19a851a36.tar.bz2
edk2-f52e226e19c79e7276668e29c173fbf19a851a36.zip
ShellPkg: Refine global variable name to follow EDK II coding style.
EDK II C coding style requires use of 'm' or 'g' for module globals. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Kinney, Michael D" <michael.d.kinney@intel.com> Reviewed-by: Qiu Shumin <shumin.qiu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18184 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg')
-rw-r--r--ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c b/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c
index cc3c0c3db5..dbee764b64 100644
--- a/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c
+++ b/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c
@@ -18,7 +18,7 @@
#define PING_IP4_COPY_ADDRESS(Dest, Src) (CopyMem ((Dest), (Src), sizeof (EFI_IPv4_ADDRESS)))
-UINT64 CurrentTick = 0;
+UINT64 mCurrentTick = 0;
//
// Function templates to match the IPv4 and IPv6 commands that we use.
@@ -235,16 +235,16 @@ ReadTime (
ASSERT (gCpu != NULL);
- Status = gCpu->GetTimerValue (gCpu, 0, &CurrentTick, &TimerPeriod);
+ Status = gCpu->GetTimerValue (gCpu, 0, &mCurrentTick, &TimerPeriod);
if (EFI_ERROR (Status)) {
//
// The WinntGetTimerValue will return EFI_UNSUPPORTED. Set the
// TimerPeriod by ourselves.
//
- CurrentTick += 1000000;
+ mCurrentTick += 1000000;
}
- return CurrentTick;
+ return mCurrentTick;
}