Last change
on this file since 108794 was 108794, checked in by vboxsync, 3 weeks ago |
Devices/EFI/FirmwareNew: Merge edk2-stable202502 from the vendor branch and make it build for the important platforms, 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 |
|
---|
4 | Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>
|
---|
5 | SPDX-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 | typedef enum {
|
---|
15 | GetBootFileHead,
|
---|
16 | GetBootFileGet,
|
---|
17 | LoadBootFile,
|
---|
18 | GetBootFileError
|
---|
19 | } HTTP_GET_BOOT_FILE_STATE;
|
---|
20 |
|
---|
21 | /**
|
---|
22 | Attempt to complete a DHCPv4 D.O.R.A or DHCPv6 S.R.A.A sequence to retrieve the boot resource information.
|
---|
23 |
|
---|
24 | @param[in] Private The pointer to the driver's private data.
|
---|
25 |
|
---|
26 | @retval EFI_SUCCESS Boot info was successfully retrieved.
|
---|
27 | @retval EFI_INVALID_PARAMETER Private is NULL.
|
---|
28 | @retval EFI_NOT_STARTED The driver is in stopped state.
|
---|
29 | @retval EFI_DEVICE_ERROR An unexpected network error occurred.
|
---|
30 | @retval Others Other errors as indicated.
|
---|
31 |
|
---|
32 | **/
|
---|
33 | EFI_STATUS
|
---|
34 | HttpBootDhcp (
|
---|
35 | IN HTTP_BOOT_PRIVATE_DATA *Private
|
---|
36 | );
|
---|
37 |
|
---|
38 | /**
|
---|
39 | Disable the use of UEFI HTTP boot function.
|
---|
40 |
|
---|
41 | @param[in] Private The pointer to the driver's private data.
|
---|
42 |
|
---|
43 | @retval EFI_SUCCESS HTTP boot was successfully disabled.
|
---|
44 | @retval EFI_NOT_STARTED The driver is already in stopped state.
|
---|
45 | @retval EFI_INVALID_PARAMETER Private is NULL.
|
---|
46 | @retval Others Unexpected error when stop the function.
|
---|
47 |
|
---|
48 | **/
|
---|
49 | EFI_STATUS
|
---|
50 | HttpBootStop (
|
---|
51 | IN HTTP_BOOT_PRIVATE_DATA *Private
|
---|
52 | );
|
---|
53 |
|
---|
54 | extern EFI_HTTP_BOOT_CALLBACK_PROTOCOL gHttpBootDxeHttpBootCallback;
|
---|
55 |
|
---|
56 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.