The implementation for the 'tftp' Shell command.\r
\r
Copyright (c) 2015, ARM Ltd. All rights reserved.<BR>\r
- Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved. <BR>\r
+ Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved. <BR>\r
(C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>\r
\r
This program and the accompanying materials\r
@return TRUE The value was returned.\r
@return FALSE A parsing error occured.\r
**/\r
-STATIC \r
-BOOLEAN \r
+STATIC\r
+BOOLEAN\r
StringToUint16 (\r
IN CONST CHAR16 *ValueStr,\r
OUT UINT16 *Value\r
@param[in] NicNumber The network physical device number.\r
@param[out] NicName Address where to store the NIC name.\r
The memory area has to be at least\r
- IP4_CONFIG2_INTERFACE_INFO_NAME_LENGTH \r
+ IP4_CONFIG2_INTERFACE_INFO_NAME_LENGTH\r
double byte wide.\r
\r
@return EFI_SUCCESS The name of the NIC was returned.\r
Managed Network Protocol could not be\r
read.\r
**/\r
-STATIC \r
-EFI_STATUS \r
+STATIC\r
+EFI_STATUS\r
GetNicName (\r
IN EFI_HANDLE ControllerHandle,\r
IN UINTN NicNumber,\r
@return Others Either the creation of the child or the opening\r
of the protocol failed.\r
**/\r
-STATIC \r
-EFI_STATUS \r
+STATIC\r
+EFI_STATUS\r
CreateServiceChildAndOpenProtocol (\r
IN EFI_HANDLE ControllerHandle,\r
IN EFI_GUID *ServiceBindingProtocolGuid,\r
@param[in] ChildHandle Handle of the child to be destroyed.\r
\r
**/\r
-STATIC \r
-VOID \r
+STATIC\r
+VOID\r
CloseProtocolAndDestroyServiceChild (\r
IN EFI_HANDLE ControllerHandle,\r
IN EFI_GUID *ServiceBindingProtocolGuid,\r
(see EFI_MTFTP4_PROTOCOL.GetInfo() status codes)\r
or error when parsing the response of the server.\r
**/\r
-STATIC \r
-EFI_STATUS \r
+STATIC\r
+EFI_STATUS\r
GetFileSize (\r
IN EFI_MTFTP4_PROTOCOL *Mtftp4,\r
IN CONST CHAR8 *FilePath,\r
(see EFI_MTFTP4_PROTOCOL.ReadFile() status codes).\r
\r
**/\r
-STATIC \r
-EFI_STATUS \r
+STATIC\r
+EFI_STATUS\r
DownloadFile (\r
IN EFI_MTFTP4_PROTOCOL *Mtftp4,\r
IN CONST CHAR16 *FilePath,\r
@retval EFI_SUCCESS All packets are accepted.\r
\r
**/\r
-STATIC \r
-EFI_STATUS \r
+STATIC\r
+EFI_STATUS\r
EFIAPI\r
CheckPacket (\r
IN EFI_MTFTP4_PROTOCOL *This,\r
@param[in] NicNumber The network physical device number.\r
@param[out] NicName Address where to store the NIC name.\r
The memory area has to be at least\r
- IP4_CONFIG2_INTERFACE_INFO_NAME_LENGTH \r
+ IP4_CONFIG2_INTERFACE_INFO_NAME_LENGTH\r
double byte wide.\r
\r
@return EFI_SUCCESS The name of the NIC was returned.\r