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

Go to the source code of this file.

Data Structures

struct  _HTTP_BOOT_FORM_CALLBACK_INFO
 

Macros

#define HTTP_BOOT_FORM_CALLBACK_INFO_SIGNATURE   SIGNATURE_32 ('H', 'B', 'f', 'c')
 
#define HTTP_BOOT_FORM_CALLBACK_INFO_FROM_CONFIG_ACCESS(Callback)
 

Typedefs

typedef struct _HTTP_BOOT_FORM_CALLBACK_INFO HTTP_BOOT_FORM_CALLBACK_INFO
 

Functions

EFI_STATUS HttpBootConfigFormInit (IN HTTP_BOOT_PRIVATE_DATA *Private)
 
EFI_STATUS HttpBootConfigFormUnload (IN HTTP_BOOT_PRIVATE_DATA *Private)
 

Variables

UINT8 HttpBootDxeStrings []
 
UINT8 HttpBootConfigVfrBin []
 

Detailed Description

The header file of functions for configuring or getting the parameters relating to HTTP Boot.

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

Definition in file HttpBootConfig.h.

Macro Definition Documentation

◆ HTTP_BOOT_FORM_CALLBACK_INFO_FROM_CONFIG_ACCESS

#define HTTP_BOOT_FORM_CALLBACK_INFO_FROM_CONFIG_ACCESS (   Callback)
Value:
CR ( \
Callback, \
ConfigAccess, \
HTTP_BOOT_FORM_CALLBACK_INFO_SIGNATURE \
)
#define CR(Record, TYPE, Field, TestSignature)
Definition: DebugLib.h:659

Definition at line 24 of file HttpBootConfig.h.

◆ HTTP_BOOT_FORM_CALLBACK_INFO_SIGNATURE

#define HTTP_BOOT_FORM_CALLBACK_INFO_SIGNATURE   SIGNATURE_32 ('H', 'B', 'f', 'c')

Definition at line 22 of file HttpBootConfig.h.

Typedef Documentation

◆ HTTP_BOOT_FORM_CALLBACK_INFO

Function Documentation

◆ HttpBootConfigFormInit()

EFI_STATUS HttpBootConfigFormInit ( IN HTTP_BOOT_PRIVATE_DATA Private)

Initialize the configuration form.

Parameters
[in]PrivatePointer to the driver private data.
Return values
EFI_SUCCESSThe configuration form is initialized.
EFI_OUT_OF_RESOURCESFailed to allocate memory.

Definition at line 549 of file HttpBootConfig.c.

◆ HttpBootConfigFormUnload()

EFI_STATUS HttpBootConfigFormUnload ( IN HTTP_BOOT_PRIVATE_DATA Private)

Unload the configuration form, this includes: delete all the configuration entries, uninstall the form callback protocol, and free the resources used. The form will only be unload completely when both IP4 and IP6 stack are stopped.

Parameters
[in]PrivatePointer to the driver private data.
Return values
EFI_SUCCESSThe configuration form is unloaded.
OthersFailed to unload the form.

Definition at line 664 of file HttpBootConfig.c.