12#ifndef HII_INTERNAL_H_
13#define HII_INTERNAL_H_
42#define EXPRESSION_STACK_SIZE_INCREMENT 0x100
43#define EFI_IFR_SPECIFICATION_VERSION (UINT16) (((EFI_SYSTEM_TABLE_REVISION >> 16) << 8) | (((EFI_SYSTEM_TABLE_REVISION & 0xFFFF) / 10) << 4) | ((EFI_SYSTEM_TABLE_REVISION & 0xFFFF) % 10))
62#define HII_FORM_CONFIG_REQUEST_SIGNATURE SIGNATURE_32 ('F', 'C', 'R', 'S')
63#define HII_FORM_CONFIG_REQUEST_FROM_LINK(a) CR (a, HII_FORM_CONFIG_REQUEST, Link, HII_FORM_CONFIG_REQUEST_SIGNATURE)
68#define CONFIG_REQUEST_STRING_INCREMENTAL 1024
131 IN OUT UINT8 *Buffer,
164 IN EFI_STRING_ID Token,
178 IN EFI_STRING ConfigString
263 IN CHAR16 **ConfigResp,
264 IN CHAR16 *ConfigRequest
280 IN CHAR16 *ConfigResp
307 OUT UINT8 **BinaryData
348 IN EFI_VARSTORE_ID VarStoreId
EFI_STATUS NoSubmitCheck(IN HII_FORMSET *FormSet, IN OUT HII_FORM **CurrentForm, OUT HII_STATEMENT **Statement)
VOID EFIAPI HiiStringToLowercase(IN EFI_STRING ConfigString)
VOID ExtendValueToU64(IN HII_STATEMENT_VALUE *Value)
VOID NewStringCopy(IN OUT CHAR16 **Dest, IN CHAR16 *Src)
EFI_STRING_ID NewHiiString(IN CHAR16 *String, IN EFI_HII_HANDLE HiiHandle)
EFI_STATUS SetValueByName(IN HII_FORMSET_STORAGE *Storage, IN CHAR16 *Name, IN CHAR16 *Value, OUT HII_NAME_VALUE_NODE **ReturnNode)
HII_FORMSET_STORAGE * GetFstStgFromVarId(IN HII_FORMSET *FormSet, IN EFI_VARSTORE_ID VarStoreId)
EFI_STATUS ValidateNoSubmit(IN HII_FORMSET *FormSet, IN HII_FORM *Form, IN HII_STATEMENT *Question)
VOID LoadFormSetStorage(IN HII_FORMSET *FormSet, IN HII_FORMSET_STORAGE *Storage)
EFI_STATUS StorageToConfigResp(IN HII_FORMSET_STORAGE *Storage, IN CHAR16 **ConfigResp, IN CHAR16 *ConfigRequest)
VOID GetBitsQuestionValue(IN HII_STATEMENT *Question, IN UINT8 *Buffer, OUT HII_STATEMENT_VALUE *QuestionValue)
EFI_STATUS GetIfrBinaryData(IN EFI_HII_HANDLE Handle, IN OUT EFI_GUID *FormSetGuid, OUT UINTN *BinaryLength, OUT UINT8 **BinaryData)
EFI_STATUS ConfigRespToStorage(IN HII_FORMSET_STORAGE *Storage, IN CHAR16 *ConfigResp)
VOID DestroyForm(IN HII_FORMSET *FormSet, IN OUT HII_FORM *Form)
CHAR16 * GetTokenString(IN EFI_STRING_ID Token, IN EFI_HII_HANDLE HiiHandle)
EFI_STATUS ParseOpCodes(IN HII_FORMSET *FormSet)
BOOLEAN IsHiiValueTrue(IN EFI_HII_VALUE *Result)
EFI_STATUS BufferToQuestionValue(IN HII_STATEMENT *Question, IN CHAR16 *Value, OUT HII_STATEMENT_VALUE *QuestionValue)
VOID SetBitsQuestionValue(IN HII_STATEMENT *Question, IN OUT UINT8 *Buffer, IN UINT32 Value)
Definition of HII_FORM_CONFIG_REQUEST.
CHAR16 * ConfigAltResp
Alt config response string for this ConfigRequest.
CHAR16 * ConfigRequest
<ConfigRequest> = <ConfigHdr> + <RequestElement>
UINTN ElementCount
Number of <RequestElement> in the <ConfigRequest>
CHAR16 * RestoreConfigRequest
When submit form fail, the element need to be restored.
CHAR16 * SyncConfigRequest
When submit form fail, the element need to be synced.