VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/NetworkPkg/HttpBootDxe/HttpBootImpl.h@ 77662

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

EFI: First step in UDK2018 merge. Does not build yet.

  • Property svn:eol-style set to native
File size: 1.8 KB
Line 
1/** @file
2 The declaration of UEFI HTTP boot function.
3
4Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
5This program and the accompanying materials are licensed and made available under
6the terms and conditions of the BSD License that accompanies this distribution.
7The full text of the license may be found at
8http://opensource.org/licenses/bsd-license.php.
9
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13**/
14#ifndef __EFI_HTTP_BOOT_IMPL_H__
15#define __EFI_HTTP_BOOT_IMPL_H__
16
17#define HTTP_BOOT_CHECK_MEDIA_WAITING_TIME EFI_TIMER_PERIOD_SECONDS(20)
18
19/**
20 Attempt to complete a DHCPv4 D.O.R.A or DHCPv6 S.R.A.A sequence to retrieve the boot resource information.
21
22 @param[in] Private The pointer to the driver's private data.
23
24 @retval EFI_SUCCESS Boot info was successfully retrieved.
25 @retval EFI_INVALID_PARAMETER Private is NULL.
26 @retval EFI_NOT_STARTED The driver is in stopped state.
27 @retval EFI_DEVICE_ERROR An unexpected network error occurred.
28 @retval Others Other errors as indicated.
29
30**/
31EFI_STATUS
32HttpBootDhcp (
33 IN HTTP_BOOT_PRIVATE_DATA *Private
34 );
35
36/**
37 Disable the use of UEFI HTTP boot function.
38
39 @param[in] Private The pointer to the driver's private data.
40
41 @retval EFI_SUCCESS HTTP boot was successfully disabled.
42 @retval EFI_NOT_STARTED The driver is already in stopped state.
43 @retval EFI_INVALID_PARAMETER Private is NULL.
44 @retval Others Unexpected error when stop the function.
45
46**/
47EFI_STATUS
48HttpBootStop (
49 IN HTTP_BOOT_PRIVATE_DATA *Private
50 );
51
52extern EFI_HTTP_BOOT_CALLBACK_PROTOCOL gHttpBootDxeHttpBootCallback;
53
54#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