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

Go to the source code of this file.

Data Structures

struct  _ISCSI_ATTEMPT_CONFIG_NVDATA
 
struct  HII_VENDOR_DEVICE_PATH
 
struct  _ISCSI_FORM_CALLBACK_INFO
 

Macros

#define VAR_OFFSET(Field)    ((UINT16) ((UINTN) &(((ISCSI_CONFIG_IFR_NVDATA *) 0)->Field)))
 
#define QUESTION_ID(Field)    ((UINT16) (VAR_OFFSET (Field) + CONFIG_OPTION_OFFSET))
 
#define DYNAMIC_ONE_OF_VAR_OFFSET   VAR_OFFSET (Enabled)
 
#define DYNAMIC_ORDERED_LIST_QUESTION_ID   QUESTION_ID (DynamicOrderedList)
 
#define DYNAMIC_ORDERED_LIST_VAR_OFFSET   VAR_OFFSET (DynamicOrderedList)
 
#define ATTEMPT_DEL_QUESTION_ID   QUESTION_ID (DeleteAttemptList)
 
#define ATTEMPT_DEL_VAR_OFFSET   VAR_OFFSET (DeleteAttemptList)
 
#define ATTEMPT_ADD_QUESTION_ID   QUESTION_ID (AddAttemptList)
 
#define ATTEMPT_ADD_VAR_OFFSET   VAR_OFFSET (AddAttemptList)
 
#define ATTEMPT_MAC_ADDR_VAR_OFFSET   VAR_OFFSET (ISCSIMacAddr)
 
#define ATTEMPT_ATTEMPT_NAME_QUESTION_ID   QUESTION_ID (ISCSIAttemptName)
 
#define ATTEMPT_ATTEMPT_NAME_VAR_OFFSET   VAR_OFFSET (ISCSIAttemptName)
 
#define ATTEMPT_BOOTENABLE_QUESTION_ID   QUESTION_ID (ISCSIBootEnableList)
 
#define ATTEMPT_BOOTENABLE_VAR_OFFSET   VAR_OFFSET (ISCSIBootEnableList)
 
#define ATTEMPT_ADDRESS_TYPE_QUESTION_ID   QUESTION_ID (ISCSIIpAddressTypeList)
 
#define ATTEMPT_ADDRESS_TYPE_VAR_OFFSET   VAR_OFFSET (ISCSIIpAddressTypeList)
 
#define ATTEMPT_CONNECT_RETRY_QUESTION_ID   QUESTION_ID (ISCSIConnectRetry)
 
#define ATTEMPT_CONNECT_RETRY_VAR_OFFSET   VAR_OFFSET (ISCSIConnectRetry)
 
#define ATTEMPT_CONNECT_TIMEOUT_QUESTION_ID   QUESTION_ID (ISCSIConnectTimeout)
 
#define ATTEMPT_CONNECT_TIMEOUT_VAR_OFFSET   VAR_OFFSET (ISCSIConnectTimeout)
 
#define ATTEMPT_ISID_QUESTION_ID   QUESTION_ID (Keyword->ISCSIIsId)
 
#define ATTEMPT_ISID_VAR_OFFSET   VAR_OFFSET (Keyword->ISCSIIsId)
 
#define ATTEMPT_INITIATOR_VIA_DHCP_QUESTION_ID   QUESTION_ID (ISCSIInitiatorInfoViaDHCP)
 
#define ATTEMPT_INITIATOR_VIA_DHCP_VAR_OFFSET   VAR_OFFSET (ISCSIInitiatorInfoViaDHCP)
 
#define ATTEMPT_INITIATOR_IP_ADDRESS_QUESTION_ID   QUESTION_ID (Keyword->ISCSIInitiatorIpAddress)
 
#define ATTEMPT_INITIATOR_IP_ADDRESS_VAR_OFFSET   VAR_OFFSET (Keyword->ISCSIInitiatorIpAddress)
 
#define ATTEMPT_INITIATOR_NET_MASK_QUESTION_ID   QUESTION_ID (Keyword->ISCSIInitiatorNetmask)
 
#define ATTEMPT_INITIATOR_NET_MASK_VAR_OFFSET   VAR_OFFSET (Keyword->ISCSIInitiatorNetmask)
 
#define ATTEMPT_INITIATOR_GATE_WAY_QUESTION_ID   QUESTION_ID (Keyword->ISCSIInitiatorGateway)
 
#define ATTEMPT_INITIATOR_GATE_WAY_VAR_OFFSET   VAR_OFFSET (Keyword->ISCSIInitiatorGateway)
 
#define ATTEMPT_TARGET_VIA_DHCP_QUESTION_ID   QUESTION_ID (ISCSITargetInfoViaDHCP)
 
#define ATTEMPT_TARGET_VIA_DHCP_VAR_OFFSET   VAR_OFFSET (ISCSITargetInfoViaDHCP)
 
#define ATTEMPT_TARGET_NAME_QUESTION_ID   QUESTION_ID (Keyword->ISCSITargetName)
 
#define ATTEMPT_TARGET_NAME_VAR_OFFSET   VAR_OFFSET (Keyword->ISCSITargetName)
 
#define ATTEMPT_TARGET_IP_ADDRESS_QUESTION_ID   QUESTION_ID (Keyword->ISCSITargetIpAddress)
 
#define ATTEMPT_TARGET_IP_ADDRESS_VAR_OFFSET   VAR_OFFSET (Keyword->ISCSITargetIpAddress)
 
#define ATTEMPT_TARGET_TCP_PORT_QUESTION_ID   QUESTION_ID (ISCSITargetTcpPort)
 
#define ATTEMPT_TARGET_TCP_PORT_VAR_OFFSET   VAR_OFFSET (ISCSITargetTcpPort)
 
#define ATTEMPT_LUN_QUESTION_ID   QUESTION_ID (Keyword->ISCSILun)
 
#define ATTEMPT_LUN_VAR_OFFSET   VAR_OFFSET (Keyword->ISCSILun)
 
#define ATTEMPT_AUTHENTICATION_METHOD_QUESTION_ID   QUESTION_ID (ISCSIAuthenticationMethod)
 
#define ATTEMPT_AUTHENTICATION_METHOD_VAR_OFFSET   VAR_OFFSET (ISCSIAuthenticationMethod)
 
#define ATTEMPT_CHARTYPE_QUESTION_ID   QUESTION_ID (ISCSIChapType)
 
#define ATTEMPT_CHARTYPE_VAR_OFFSET   VAR_OFFSET (ISCSIChapType)
 
#define ATTEMPT_CHAR_USER_NAME_QUESTION_ID   QUESTION_ID (Keyword->ISCSIChapUsername)
 
#define ATTEMPT_CHAR_USER_NAME_VAR_OFFSET   VAR_OFFSET (Keyword->ISCSIChapUsername)
 
#define ATTEMPT_CHAR_SECRET_QUESTION_ID   QUESTION_ID (Keyword->ISCSIChapSecret)
 
#define ATTEMPT_CHAR_SECRET_VAR_OFFSET   VAR_OFFSET (Keyword->ISCSIChapSecret)
 
#define ATTEMPT_CHAR_REVERSE_USER_NAME_QUESTION_ID   QUESTION_ID (Keyword->ISCSIReverseChapUsername)
 
#define ATTEMPT_CHAR_REVERSE_USER_NAME_VAR_OFFSET   VAR_OFFSET (Keyword->ISCSIReverseChapUsername)
 
#define ATTEMPT_CHAR_REVERSE_SECRET_QUESTION_ID   QUESTION_ID (Keyword->ISCSIReverseChapSecret)
 
#define ATTEMPT_CHAR_REVERSE_SECRET_VAR_OFFSET   VAR_OFFSET (Keyword->ISCSIReverseChapSecret)
 
#define ISCSI_INITATOR_NAME_VAR_NAME   L"I_NAME"
 
#define ISCSI_CONFIG_VAR_ATTR   (EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_NON_VOLATILE)
 
#define ISCSI_FORM_CALLBACK_INFO_SIGNATURE   SIGNATURE_32 ('I', 'f', 'c', 'i')
 
#define ISCSI_FORM_CALLBACK_INFO_FROM_FORM_CALLBACK(Callback)
 

Typedefs

typedef struct _ISCSI_FORM_CALLBACK_INFO ISCSI_FORM_CALLBACK_INFO
 

Functions

EFI_STATUS IScsiCreateOpCode (IN UINT16 StartLabelNumber, OUT VOID **StartOpCodeHandle, OUT EFI_IFR_GUID_LABEL **StartLabel, OUT VOID **EndOpCodeHandle, OUT EFI_IFR_GUID_LABEL **EndLabel)
 
EFI_STATUS IScsiConfigFormInit (IN EFI_HANDLE DriverBindingHandle)
 
EFI_STATUS IScsiConfigFormUnload (IN EFI_HANDLE DriverBindingHandle)
 
VOID IScsiConfigUpdateAttempt (VOID)
 
ISCSI_ATTEMPT_CONFIG_NVDATAIScsiConfigGetAttemptByConfigIndex (IN UINT8 AttemptConfigIndex)
 

Variables

UINT8 IScsiConfigVfrBin []
 
UINT8 IScsiDxeStrings []
 
ISCSI_FORM_CALLBACK_INFOmCallbackInfo
 

Detailed Description

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

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

Definition in file IScsiConfig.h.

Macro Definition Documentation

◆ ATTEMPT_ADD_QUESTION_ID

#define ATTEMPT_ADD_QUESTION_ID   QUESTION_ID (AddAttemptList)

Definition at line 32 of file IScsiConfig.h.

◆ ATTEMPT_ADD_VAR_OFFSET

#define ATTEMPT_ADD_VAR_OFFSET   VAR_OFFSET (AddAttemptList)

Definition at line 33 of file IScsiConfig.h.

◆ ATTEMPT_ADDRESS_TYPE_QUESTION_ID

#define ATTEMPT_ADDRESS_TYPE_QUESTION_ID   QUESTION_ID (ISCSIIpAddressTypeList)

Definition at line 43 of file IScsiConfig.h.

◆ ATTEMPT_ADDRESS_TYPE_VAR_OFFSET

#define ATTEMPT_ADDRESS_TYPE_VAR_OFFSET   VAR_OFFSET (ISCSIIpAddressTypeList)

Definition at line 44 of file IScsiConfig.h.

◆ ATTEMPT_ATTEMPT_NAME_QUESTION_ID

#define ATTEMPT_ATTEMPT_NAME_QUESTION_ID   QUESTION_ID (ISCSIAttemptName)

Definition at line 39 of file IScsiConfig.h.

◆ ATTEMPT_ATTEMPT_NAME_VAR_OFFSET

#define ATTEMPT_ATTEMPT_NAME_VAR_OFFSET   VAR_OFFSET (ISCSIAttemptName)

Definition at line 40 of file IScsiConfig.h.

◆ ATTEMPT_AUTHENTICATION_METHOD_QUESTION_ID

#define ATTEMPT_AUTHENTICATION_METHOD_QUESTION_ID   QUESTION_ID (ISCSIAuthenticationMethod)

Definition at line 69 of file IScsiConfig.h.

◆ ATTEMPT_AUTHENTICATION_METHOD_VAR_OFFSET

#define ATTEMPT_AUTHENTICATION_METHOD_VAR_OFFSET   VAR_OFFSET (ISCSIAuthenticationMethod)

Definition at line 70 of file IScsiConfig.h.

◆ ATTEMPT_BOOTENABLE_QUESTION_ID

#define ATTEMPT_BOOTENABLE_QUESTION_ID   QUESTION_ID (ISCSIBootEnableList)

Definition at line 41 of file IScsiConfig.h.

◆ ATTEMPT_BOOTENABLE_VAR_OFFSET

#define ATTEMPT_BOOTENABLE_VAR_OFFSET   VAR_OFFSET (ISCSIBootEnableList)

Definition at line 42 of file IScsiConfig.h.

◆ ATTEMPT_CHAR_REVERSE_SECRET_QUESTION_ID

#define ATTEMPT_CHAR_REVERSE_SECRET_QUESTION_ID   QUESTION_ID (Keyword->ISCSIReverseChapSecret)

Definition at line 79 of file IScsiConfig.h.

◆ ATTEMPT_CHAR_REVERSE_SECRET_VAR_OFFSET

#define ATTEMPT_CHAR_REVERSE_SECRET_VAR_OFFSET   VAR_OFFSET (Keyword->ISCSIReverseChapSecret)

Definition at line 80 of file IScsiConfig.h.

◆ ATTEMPT_CHAR_REVERSE_USER_NAME_QUESTION_ID

#define ATTEMPT_CHAR_REVERSE_USER_NAME_QUESTION_ID   QUESTION_ID (Keyword->ISCSIReverseChapUsername)

Definition at line 77 of file IScsiConfig.h.

◆ ATTEMPT_CHAR_REVERSE_USER_NAME_VAR_OFFSET

#define ATTEMPT_CHAR_REVERSE_USER_NAME_VAR_OFFSET   VAR_OFFSET (Keyword->ISCSIReverseChapUsername)

Definition at line 78 of file IScsiConfig.h.

◆ ATTEMPT_CHAR_SECRET_QUESTION_ID

#define ATTEMPT_CHAR_SECRET_QUESTION_ID   QUESTION_ID (Keyword->ISCSIChapSecret)

Definition at line 75 of file IScsiConfig.h.

◆ ATTEMPT_CHAR_SECRET_VAR_OFFSET

#define ATTEMPT_CHAR_SECRET_VAR_OFFSET   VAR_OFFSET (Keyword->ISCSIChapSecret)

Definition at line 76 of file IScsiConfig.h.

◆ ATTEMPT_CHAR_USER_NAME_QUESTION_ID

#define ATTEMPT_CHAR_USER_NAME_QUESTION_ID   QUESTION_ID (Keyword->ISCSIChapUsername)

Definition at line 73 of file IScsiConfig.h.

◆ ATTEMPT_CHAR_USER_NAME_VAR_OFFSET

#define ATTEMPT_CHAR_USER_NAME_VAR_OFFSET   VAR_OFFSET (Keyword->ISCSIChapUsername)

Definition at line 74 of file IScsiConfig.h.

◆ ATTEMPT_CHARTYPE_QUESTION_ID

#define ATTEMPT_CHARTYPE_QUESTION_ID   QUESTION_ID (ISCSIChapType)

Definition at line 71 of file IScsiConfig.h.

◆ ATTEMPT_CHARTYPE_VAR_OFFSET

#define ATTEMPT_CHARTYPE_VAR_OFFSET   VAR_OFFSET (ISCSIChapType)

Definition at line 72 of file IScsiConfig.h.

◆ ATTEMPT_CONNECT_RETRY_QUESTION_ID

#define ATTEMPT_CONNECT_RETRY_QUESTION_ID   QUESTION_ID (ISCSIConnectRetry)

Definition at line 45 of file IScsiConfig.h.

◆ ATTEMPT_CONNECT_RETRY_VAR_OFFSET

#define ATTEMPT_CONNECT_RETRY_VAR_OFFSET   VAR_OFFSET (ISCSIConnectRetry)

Definition at line 46 of file IScsiConfig.h.

◆ ATTEMPT_CONNECT_TIMEOUT_QUESTION_ID

#define ATTEMPT_CONNECT_TIMEOUT_QUESTION_ID   QUESTION_ID (ISCSIConnectTimeout)

Definition at line 47 of file IScsiConfig.h.

◆ ATTEMPT_CONNECT_TIMEOUT_VAR_OFFSET

#define ATTEMPT_CONNECT_TIMEOUT_VAR_OFFSET   VAR_OFFSET (ISCSIConnectTimeout)

Definition at line 48 of file IScsiConfig.h.

◆ ATTEMPT_DEL_QUESTION_ID

#define ATTEMPT_DEL_QUESTION_ID   QUESTION_ID (DeleteAttemptList)

Definition at line 30 of file IScsiConfig.h.

◆ ATTEMPT_DEL_VAR_OFFSET

#define ATTEMPT_DEL_VAR_OFFSET   VAR_OFFSET (DeleteAttemptList)

Definition at line 31 of file IScsiConfig.h.

◆ ATTEMPT_INITIATOR_GATE_WAY_QUESTION_ID

#define ATTEMPT_INITIATOR_GATE_WAY_QUESTION_ID   QUESTION_ID (Keyword->ISCSIInitiatorGateway)

Definition at line 57 of file IScsiConfig.h.

◆ ATTEMPT_INITIATOR_GATE_WAY_VAR_OFFSET

#define ATTEMPT_INITIATOR_GATE_WAY_VAR_OFFSET   VAR_OFFSET (Keyword->ISCSIInitiatorGateway)

Definition at line 58 of file IScsiConfig.h.

◆ ATTEMPT_INITIATOR_IP_ADDRESS_QUESTION_ID

#define ATTEMPT_INITIATOR_IP_ADDRESS_QUESTION_ID   QUESTION_ID (Keyword->ISCSIInitiatorIpAddress)

Definition at line 53 of file IScsiConfig.h.

◆ ATTEMPT_INITIATOR_IP_ADDRESS_VAR_OFFSET

#define ATTEMPT_INITIATOR_IP_ADDRESS_VAR_OFFSET   VAR_OFFSET (Keyword->ISCSIInitiatorIpAddress)

Definition at line 54 of file IScsiConfig.h.

◆ ATTEMPT_INITIATOR_NET_MASK_QUESTION_ID

#define ATTEMPT_INITIATOR_NET_MASK_QUESTION_ID   QUESTION_ID (Keyword->ISCSIInitiatorNetmask)

Definition at line 55 of file IScsiConfig.h.

◆ ATTEMPT_INITIATOR_NET_MASK_VAR_OFFSET

#define ATTEMPT_INITIATOR_NET_MASK_VAR_OFFSET   VAR_OFFSET (Keyword->ISCSIInitiatorNetmask)

Definition at line 56 of file IScsiConfig.h.

◆ ATTEMPT_INITIATOR_VIA_DHCP_QUESTION_ID

#define ATTEMPT_INITIATOR_VIA_DHCP_QUESTION_ID   QUESTION_ID (ISCSIInitiatorInfoViaDHCP)

Definition at line 51 of file IScsiConfig.h.

◆ ATTEMPT_INITIATOR_VIA_DHCP_VAR_OFFSET

#define ATTEMPT_INITIATOR_VIA_DHCP_VAR_OFFSET   VAR_OFFSET (ISCSIInitiatorInfoViaDHCP)

Definition at line 52 of file IScsiConfig.h.

◆ ATTEMPT_ISID_QUESTION_ID

#define ATTEMPT_ISID_QUESTION_ID   QUESTION_ID (Keyword->ISCSIIsId)

Definition at line 49 of file IScsiConfig.h.

◆ ATTEMPT_ISID_VAR_OFFSET

#define ATTEMPT_ISID_VAR_OFFSET   VAR_OFFSET (Keyword->ISCSIIsId)

Definition at line 50 of file IScsiConfig.h.

◆ ATTEMPT_LUN_QUESTION_ID

#define ATTEMPT_LUN_QUESTION_ID   QUESTION_ID (Keyword->ISCSILun)

Definition at line 67 of file IScsiConfig.h.

◆ ATTEMPT_LUN_VAR_OFFSET

#define ATTEMPT_LUN_VAR_OFFSET   VAR_OFFSET (Keyword->ISCSILun)

Definition at line 68 of file IScsiConfig.h.

◆ ATTEMPT_MAC_ADDR_VAR_OFFSET

#define ATTEMPT_MAC_ADDR_VAR_OFFSET   VAR_OFFSET (ISCSIMacAddr)

Definition at line 38 of file IScsiConfig.h.

◆ ATTEMPT_TARGET_IP_ADDRESS_QUESTION_ID

#define ATTEMPT_TARGET_IP_ADDRESS_QUESTION_ID   QUESTION_ID (Keyword->ISCSITargetIpAddress)

Definition at line 63 of file IScsiConfig.h.

◆ ATTEMPT_TARGET_IP_ADDRESS_VAR_OFFSET

#define ATTEMPT_TARGET_IP_ADDRESS_VAR_OFFSET   VAR_OFFSET (Keyword->ISCSITargetIpAddress)

Definition at line 64 of file IScsiConfig.h.

◆ ATTEMPT_TARGET_NAME_QUESTION_ID

#define ATTEMPT_TARGET_NAME_QUESTION_ID   QUESTION_ID (Keyword->ISCSITargetName)

Definition at line 61 of file IScsiConfig.h.

◆ ATTEMPT_TARGET_NAME_VAR_OFFSET

#define ATTEMPT_TARGET_NAME_VAR_OFFSET   VAR_OFFSET (Keyword->ISCSITargetName)

Definition at line 62 of file IScsiConfig.h.

◆ ATTEMPT_TARGET_TCP_PORT_QUESTION_ID

#define ATTEMPT_TARGET_TCP_PORT_QUESTION_ID   QUESTION_ID (ISCSITargetTcpPort)

Definition at line 65 of file IScsiConfig.h.

◆ ATTEMPT_TARGET_TCP_PORT_VAR_OFFSET

#define ATTEMPT_TARGET_TCP_PORT_VAR_OFFSET   VAR_OFFSET (ISCSITargetTcpPort)

Definition at line 66 of file IScsiConfig.h.

◆ ATTEMPT_TARGET_VIA_DHCP_QUESTION_ID

#define ATTEMPT_TARGET_VIA_DHCP_QUESTION_ID   QUESTION_ID (ISCSITargetInfoViaDHCP)

Definition at line 59 of file IScsiConfig.h.

◆ ATTEMPT_TARGET_VIA_DHCP_VAR_OFFSET

#define ATTEMPT_TARGET_VIA_DHCP_VAR_OFFSET   VAR_OFFSET (ISCSITargetInfoViaDHCP)

Definition at line 60 of file IScsiConfig.h.

◆ DYNAMIC_ONE_OF_VAR_OFFSET

#define DYNAMIC_ONE_OF_VAR_OFFSET   VAR_OFFSET (Enabled)

Definition at line 27 of file IScsiConfig.h.

◆ DYNAMIC_ORDERED_LIST_QUESTION_ID

#define DYNAMIC_ORDERED_LIST_QUESTION_ID   QUESTION_ID (DynamicOrderedList)

Definition at line 28 of file IScsiConfig.h.

◆ DYNAMIC_ORDERED_LIST_VAR_OFFSET

#define DYNAMIC_ORDERED_LIST_VAR_OFFSET   VAR_OFFSET (DynamicOrderedList)

Definition at line 29 of file IScsiConfig.h.

◆ ISCSI_CONFIG_VAR_ATTR

#define ISCSI_CONFIG_VAR_ATTR   (EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_NON_VOLATILE)

Definition at line 84 of file IScsiConfig.h.

◆ ISCSI_FORM_CALLBACK_INFO_FROM_FORM_CALLBACK

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

Definition at line 88 of file IScsiConfig.h.

◆ ISCSI_FORM_CALLBACK_INFO_SIGNATURE

#define ISCSI_FORM_CALLBACK_INFO_SIGNATURE   SIGNATURE_32 ('I', 'f', 'c', 'i')

Definition at line 86 of file IScsiConfig.h.

◆ ISCSI_INITATOR_NAME_VAR_NAME

#define ISCSI_INITATOR_NAME_VAR_NAME   L"I_NAME"

Definition at line 82 of file IScsiConfig.h.

◆ QUESTION_ID

#define QUESTION_ID (   Field)     ((UINT16) (VAR_OFFSET (Field) + CONFIG_OPTION_OFFSET))

Definition at line 24 of file IScsiConfig.h.

◆ VAR_OFFSET

#define VAR_OFFSET (   Field)     ((UINT16) ((UINTN) &(((ISCSI_CONFIG_IFR_NVDATA *) 0)->Field)))

Definition at line 21 of file IScsiConfig.h.

Typedef Documentation

◆ ISCSI_FORM_CALLBACK_INFO

Definition at line 15 of file IScsiConfig.h.

Function Documentation

◆ IScsiConfigFormInit()

EFI_STATUS IScsiConfigFormInit ( IN EFI_HANDLE  DriverBindingHandle)

Initialize the iSCSI configuration form.

Parameters
[in]DriverBindingHandleThe iSCSI driverbinding handle.
Return values
EFI_SUCCESSThe iSCSI configuration form is initialized.
EFI_OUT_OF_RESOURCESFailed to allocate memory.

Definition at line 3806 of file IScsiConfig.c.

◆ IScsiConfigFormUnload()

EFI_STATUS IScsiConfigFormUnload ( IN EFI_HANDLE  DriverBindingHandle)

Unload the iSCSI configuration form, this includes: delete all the iSCSI configuration entries, uninstall the form callback protocol, and free the resources used.

Parameters
[in]DriverBindingHandleThe iSCSI driverbinding handle.
Return values
EFI_SUCCESSThe iSCSI configuration form is unloaded.
OthersFailed to unload the form.

Definition at line 3878 of file IScsiConfig.c.

◆ IScsiConfigGetAttemptByConfigIndex()

ISCSI_ATTEMPT_CONFIG_NVDATA * IScsiConfigGetAttemptByConfigIndex ( IN UINT8  AttemptConfigIndex)

Get the attempt config data from global structure by the ConfigIndex.

Parameters
[in]AttemptConfigIndexThe unique index indicates the attempt.
Returns
Pointer to the attempt config data.
Return values
NULLThe attempt configuration data can not be found.

Get the attempt config data from global structure by the ConfigIndex.

Parameters
[in]AttemptConfigIndexThe unique index indicates the attempt.
Returns
Pointer to the attempt config data.
Return values
NULLThe attempt configuration data cannot be found.

Definition at line 391 of file IScsiConfig.c.

◆ IScsiConfigUpdateAttempt()

VOID IScsiConfigUpdateAttempt ( VOID  )

Update the MAIN form to display the configured attempts.

Definition at line 1884 of file IScsiConfig.c.

◆ IScsiCreateOpCode()

EFI_STATUS IScsiCreateOpCode ( IN UINT16  StartLabelNumber,
OUT VOID **  StartOpCodeHandle,
OUT EFI_IFR_GUID_LABEL **  StartLabel,
OUT VOID **  EndOpCodeHandle,
OUT EFI_IFR_GUID_LABEL **  EndLabel 
)

Create Hii Extend Label OpCode as the start opcode and end opcode. It is a help function.

Parameters
[in]StartLabelNumberThe number of start label.
[out]StartOpCodeHandlePoints to the start opcode handle.
[out]StartLabelPoints to the created start opcode.
[out]EndOpCodeHandlePoints to the end opcode handle.
[out]EndLabelPoints to the created end opcode.
Return values
EFI_OUT_OF_RESOURCESDo not have sufficient resource to finish this operation.
EFI_INVALID_PARAMETERAny input parameter is invalid.
EFI_SUCCESSThe operation is completed successfully.

Definition at line 1796 of file IScsiConfig.c.

Variable Documentation

◆ mCallbackInfo

ISCSI_FORM_CALLBACK_INFO* mCallbackInfo
extern

Definition at line 74 of file PlatDriOverrideDxe.c.