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
);\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