mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
eff60c11ea
commit
f52e226e19
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue