mirror of https://github.com/acidanthera/audk.git
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:
parent
ff7666c511
commit
6a5aa4d6dc
|
@ -457,6 +457,16 @@ ConfigFromFile(
|
|||
return (SHELL_SUCCESS);
|
||||
}
|
||||
|
||||
/**
|
||||
Present a requested action to the user.
|
||||
|
||||
@param[in] DriverImageHandle The handle for the driver to configure.
|
||||
@param[in] ControllerHandle The handle of the device being managed by the Driver specified.
|
||||
@param[in] ChildHandle The handle of a child device of the specified device.
|
||||
@param[in] ActionRequired The required HII action.
|
||||
|
||||
@retval SHELL_INVALID_PARAMETER A parameter has a invalid value.
|
||||
**/
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
ShellCmdDriverConfigurationProcessActionRequired (
|
||||
|
@ -510,6 +520,22 @@ ShellCmdDriverConfigurationProcessActionRequired (
|
|||
return EFI_SUCCESS;
|
||||
}
|
||||
|
||||
/**
|
||||
Do the configuration in an environment without HII.
|
||||
|
||||
@param[in] Language The language code.
|
||||
@param[in] ForceDefaults TRUE to force defaults, FALSE otherwise.
|
||||
@param[in] DefaultType If ForceDefaults is TRUE, specifies the default type.
|
||||
@param[in] AllChildren TRUE to configure all children, FALSE otherwise.
|
||||
@param[in] ValidateOptions TRUE to validate existing options, FALSE otherwise.
|
||||
@param[in] SetOptions TRUE to set options, FALSE otherwise.
|
||||
@param[in] DriverImageHandle The handle for the driver to configure.
|
||||
@param[in] DeviceHandle The handle of the device being managed by the Driver specified.
|
||||
@param[in] ChildHandle The handle of a child device of the specified device.
|
||||
|
||||
@retval SHELL_NOT_FOUND A specified handle could not be found.
|
||||
@retval SHELL_INVALID_PARAMETER A parameter has a invalid value.
|
||||
**/
|
||||
SHELL_STATUS
|
||||
EFIAPI
|
||||
PreHiiDrvCfg (
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue