ShellPkg: Add 3 missing function declaration comments and change a function static variable to a file global variable.

Submitted-by: jcarsey
Reviewed-by:  geekboy15a
Reviewed-by:  ydong10

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12317 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jcarsey
2011-09-09 16:57:26 +00:00
parent ff7666c511
commit 6a5aa4d6dc
2 changed files with 32 additions and 1 deletions

View File

@ -17,6 +17,7 @@
#define PING_IP4_COPY_ADDRESS(Dest, Src) (CopyMem ((Dest), (Src), sizeof (EFI_IPv4_ADDRESS)))
UINT64 CurrentTick = 0;
//
// Function templates to match the IPv4 and IPv6 commands that we use.
@ -217,13 +218,17 @@ STATIC CONST CHAR16 *mSrcString;
STATIC UINT64 mFrequency = 0;
EFI_CPU_ARCH_PROTOCOL *gCpu = NULL;
/**
Read the current time.
@retval the current tick value.
**/
UINT64
EFIAPI
ReadTime (
VOID
)
{
static UINT64 CurrentTick = 0;
UINT64 TimerPeriod;
EFI_STATUS Status;