]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcMtftp.c
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Universal / Network / UefiPxeBcDxe / PxeBcMtftp.c
index 8017b73dd7ba618e39d36ed858f154a1464188f6..88767c8394ab847cb3fd1eada9ffdab474611d2f 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   PxeBc MTFTP functions.\r
-  \r
-Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR>\r
+\r
+Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -25,19 +25,19 @@ CHAR8 *mMtftpOptions[PXE_MTFTP_OPTION_MAXIMUM_INDEX] = {
 /**\r
   This is a callback function when packets received/transmitted in Mtftp driver.\r
 \r
-  A callback function that is provided by the caller to intercept               \r
+  A callback function that is provided by the caller to intercept\r
   the EFI_MTFTP4_OPCODE_DATA or EFI_MTFTP4_OPCODE_DATA8 packets processed in the\r
-  EFI_MTFTP4_PROTOCOL.ReadFile() function, and alternatively to intercept       \r
-  EFI_MTFTP4_OPCODE_OACK or EFI_MTFTP4_OPCODE_ERROR packets during a call to    \r
+  EFI_MTFTP4_PROTOCOL.ReadFile() function, and alternatively to intercept\r
+  EFI_MTFTP4_OPCODE_OACK or EFI_MTFTP4_OPCODE_ERROR packets during a call to\r
   EFI_MTFTP4_PROTOCOL.ReadFile(), WriteFile() or ReadDirectory().\r
-   \r
+\r
   @param  This           Pointer to Mtftp protocol instance\r
   @param  Token          Pointer to Mtftp token\r
   @param  PacketLen      Length of Mtftp packet\r
   @param  Packet         Pointer to Mtftp packet\r
 \r
   @retval EFI_SUCCESS    Operation sucess\r
-  @retval EFI_ABORTED    Abort transfer process \r
+  @retval EFI_ABORTED    Abort transfer process\r
 \r
 **/\r
 EFI_STATUS\r
@@ -88,7 +88,7 @@ PxeBcCheckPacket (
 \r
 /**\r
   This function is to get size of a file by Tftp.\r
-  \r
+\r
   @param  Private        Pointer to PxeBc private data\r
   @param  Config         Pointer to Mtftp configuration data\r
   @param  Filename       Pointer to file name\r
@@ -99,7 +99,7 @@ PxeBcCheckPacket (
   @retval EFI_NOT_FOUND      Parse the tftp ptions failed.\r
   @retval EFI_DEVICE_ERROR   The network device encountered an error during this operation.\r
   @retval Other              Has not get the size of the file.\r
-  \r
+\r
 **/\r
 EFI_STATUS\r
 PxeBcTftpGetFileSize (\r
@@ -227,7 +227,7 @@ ON_ERROR:
   @retval EFI_SUCCESS        Read the data success from the special file.\r
   @retval EFI_DEVICE_ERROR   The network device encountered an error during this operation.\r
   @retval other              Read data from file failed.\r
-  \r
+\r
 **/\r
 EFI_STATUS\r
 PxeBcTftpReadFile (\r
@@ -310,7 +310,7 @@ PxeBcTftpReadFile (
   @retval EFI_SUCCESS        Write the data success into the special file.\r
   @retval EFI_DEVICE_ERROR   The network device encountered an error during this operation.\r
   @retval other              Write data into file failed.\r
-  \r
+\r
 **/\r
 EFI_STATUS\r
 PxeBcTftpWriteFile (\r
@@ -381,10 +381,10 @@ PxeBcTftpWriteFile (
   @param  BufferSize     Pointer to buffer size.\r
   @param  DontUseBuffer  Indicate whether with a receive buffer.\r
 \r
-  @retval EFI_SUCCES         Get the data from the file included in directory success. \r
+  @retval EFI_SUCCES         Get the data from the file included in directory success.\r
   @retval EFI_DEVICE_ERROR   The network device encountered an error during this operation.\r
   @retval other              Operation failed.\r
-  \r
+\r
 **/\r
 EFI_STATUS\r
 PxeBcTftpReadDirectory (\r