TianoCore EDK2 master
Loading...
Searching...
No Matches
HttpBootImpl.h File Reference

Go to the source code of this file.

Macros

#define HTTP_BOOT_CHECK_MEDIA_WAITING_TIME   EFI_TIMER_PERIOD_SECONDS(20)
 

Enumerations

enum  HTTP_GET_BOOT_FILE_STATE { GetBootFileHead , GetBootFileGet , LoadBootFile , GetBootFileError }
 

Functions

EFI_STATUS HttpBootDhcp (IN HTTP_BOOT_PRIVATE_DATA *Private)
 
EFI_STATUS HttpBootStop (IN HTTP_BOOT_PRIVATE_DATA *Private)
 

Variables

EFI_HTTP_BOOT_CALLBACK_PROTOCOL gHttpBootDxeHttpBootCallback
 

Detailed Description

The declaration of UEFI HTTP boot function.

Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file HttpBootImpl.h.

Macro Definition Documentation

◆ HTTP_BOOT_CHECK_MEDIA_WAITING_TIME

#define HTTP_BOOT_CHECK_MEDIA_WAITING_TIME   EFI_TIMER_PERIOD_SECONDS(20)

Definition at line 12 of file HttpBootImpl.h.

Enumeration Type Documentation

◆ HTTP_GET_BOOT_FILE_STATE

enum HTTP_GET_BOOT_FILE_STATE

Definition at line 14 of file HttpBootImpl.h.

Function Documentation

◆ HttpBootDhcp()

EFI_STATUS HttpBootDhcp ( IN HTTP_BOOT_PRIVATE_DATA Private)

Attempt to complete a DHCPv4 D.O.R.A or DHCPv6 S.R.A.A sequence to retrieve the boot resource information.

Parameters
[in]PrivateThe pointer to the driver's private data.
Return values
EFI_SUCCESSBoot info was successfully retrieved.
EFI_INVALID_PARAMETERPrivate is NULL.
EFI_NOT_STARTEDThe driver is in stopped state.
EFI_DEVICE_ERRORAn unexpected network error occurred.
OthersOther errors as indicated.

Definition at line 254 of file HttpBootImpl.c.

◆ HttpBootStop()

EFI_STATUS HttpBootStop ( IN HTTP_BOOT_PRIVATE_DATA Private)

Disable the use of UEFI HTTP boot function.

Parameters
[in]PrivateThe pointer to the driver's private data.
Return values
EFI_SUCCESSHTTP boot was successfully disabled.
EFI_NOT_STARTEDThe driver is already in stopped state.
EFI_INVALID_PARAMETERPrivate is NULL.
OthersUnexpected error when stop the function.

Definition at line 539 of file HttpBootImpl.c.

Variable Documentation

◆ gHttpBootDxeHttpBootCallback

EFI_HTTP_BOOT_CALLBACK_PROTOCOL gHttpBootDxeHttpBootCallback
extern

HTTP Boot Callback Protocol instance

Definition at line 907 of file HttpBootImpl.c.