VirtualBox

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

Last change on this file since 89125 was 80721, checked in by vboxsync, 6 years ago

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

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

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