/** @file\r
The declaration of UEFI HTTP boot function.\r
\r
-Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials are licensed and made available under \r
-the terms and conditions of the BSD License that accompanies this distribution. \r
-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
+Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
#ifndef __EFI_HTTP_BOOT_IMPL_H__\r
#define __EFI_HTTP_BOOT_IMPL_H__\r
\r
+#define HTTP_BOOT_CHECK_MEDIA_WAITING_TIME EFI_TIMER_PERIOD_SECONDS(20)\r
+\r
/**\r
- Attempt to complete a DHCPv4 D.O.R.A sequence to retrieve the boot resource information.\r
+ Attempt to complete a DHCPv4 D.O.R.A or DHCPv6 S.R.A.A sequence to retrieve the boot resource information.\r
\r
@param[in] Private The pointer to the driver's private data.\r
\r
@retval EFI_NOT_STARTED The driver is in stopped state.\r
@retval EFI_DEVICE_ERROR An unexpected network error occurred.\r
@retval Others Other errors as indicated.\r
- \r
+\r
**/\r
EFI_STATUS\r
HttpBootDhcp (\r
@retval EFI_NOT_STARTED The driver is already in stopped state.\r
@retval EFI_INVALID_PARAMETER Private is NULL.\r
@retval Others Unexpected error when stop the function.\r
- \r
+\r
**/\r
EFI_STATUS\r
HttpBootStop (\r
IN HTTP_BOOT_PRIVATE_DATA *Private\r
);\r
\r
+extern EFI_HTTP_BOOT_CALLBACK_PROTOCOL gHttpBootDxeHttpBootCallback;\r
+\r
#endif\r