]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/DynamicCommand/TftpDynamicCommand/Tftp.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / ShellPkg / DynamicCommand / TftpDynamicCommand / Tftp.h
index 9963eab3eb00e52862827ad79f3bbcccde1f83d2..89cb79c335d2eb683b0cd8959852020cdd5ee9fb 100644 (file)
@@ -4,13 +4,7 @@
   Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved. <BR>\r
   Copyright (c) 2015, ARM Ltd. All rights reserved.<BR>\r
 \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
-  http://opensource.org/licenses/bsd-license.php\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
 #include <Library/PrintLib.h>\r
 #include <Library/UefiHiiServicesLib.h>\r
 \r
-extern EFI_HANDLE mTftpHiiHandle;\r
+extern EFI_HII_HANDLE  mTftpHiiHandle;\r
 \r
 typedef struct {\r
-  UINTN  FileSize;\r
-  UINTN  DownloadedNbOfBytes;\r
-  UINTN  LastReportedNbOfBytes;\r
+  UINTN    FileSize;\r
+  UINTN    DownloadedNbOfBytes;\r
+  UINTN    LastReportedNbOfBytes;\r
 } DOWNLOAD_CONTEXT;\r
 \r
 /**\r
@@ -62,14 +56,15 @@ RunTftp (
   );\r
 \r
 /**\r
-  Retrive HII package list from ImageHandle and publish to HII database.\r
+  Retrieve HII package list from ImageHandle and publish to HII database.\r
 \r
   @param ImageHandle            The image handle of the process.\r
 \r
   @return HII handle.\r
 **/\r
-EFI_HANDLE\r
+EFI_HII_HANDLE\r
 InitializeHiiPackage (\r
-  EFI_HANDLE                  ImageHandle\r
+  EFI_HANDLE  ImageHandle\r
   );\r
+\r
 #endif // _TFTP_H_\r