VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/NetworkPkg/HttpBootDxe/HttpBootImpl.h@ 104451

Last change on this file since 104451 was 99404, checked in by vboxsync, 23 months ago

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1/** @file
2 The declaration of UEFI HTTP boot function.
3
4Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>
5SPDX-License-Identifier: BSD-2-Clause-Patent
6
7**/
8
9#ifndef __EFI_HTTP_BOOT_IMPL_H__
10#define __EFI_HTTP_BOOT_IMPL_H__
11
12#define HTTP_BOOT_CHECK_MEDIA_WAITING_TIME EFI_TIMER_PERIOD_SECONDS(20)
13
14/**
15 Attempt to complete a DHCPv4 D.O.R.A or DHCPv6 S.R.A.A sequence to retrieve the boot resource information.
16
17 @param[in] Private The pointer to the driver's private data.
18
19 @retval EFI_SUCCESS Boot info was successfully retrieved.
20 @retval EFI_INVALID_PARAMETER Private is NULL.
21 @retval EFI_NOT_STARTED The driver is in stopped state.
22 @retval EFI_DEVICE_ERROR An unexpected network error occurred.
23 @retval Others Other errors as indicated.
24
25**/
26EFI_STATUS
27HttpBootDhcp (
28 IN HTTP_BOOT_PRIVATE_DATA *Private
29 );
30
31/**
32 Disable the use of UEFI HTTP boot function.
33
34 @param[in] Private The pointer to the driver's private data.
35
36 @retval EFI_SUCCESS HTTP boot was successfully disabled.
37 @retval EFI_NOT_STARTED The driver is already in stopped state.
38 @retval EFI_INVALID_PARAMETER Private is NULL.
39 @retval Others Unexpected error when stop the function.
40
41**/
42EFI_STATUS
43HttpBootStop (
44 IN HTTP_BOOT_PRIVATE_DATA *Private
45 );
46
47extern EFI_HTTP_BOOT_CALLBACK_PROTOCOL gHttpBootDxeHttpBootCallback;
48
49#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette