EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Functions | Variables

EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiIfrForm.c File Reference

#include "UefiIfrLibrary.h"

Go to the source code of this file.

Functions

EFI_STATUS GetPackageDataFromPackageList (IN EFI_HII_PACKAGE_LIST_HEADER *HiiPackageList, IN UINT32 PackageIndex, OUT UINT32 *BufferLen, OUT EFI_HII_PACKAGE_HEADER **Buffer)
EFI_STATUS UpdateFormPackageData (IN EFI_GUID *FormSetGuid, IN EFI_FORM_ID FormId, IN EFI_HII_PACKAGE_HEADER *Package, IN UINT32 PackageLength, IN UINT16 Label, IN BOOLEAN Insert, IN EFI_HII_UPDATE_DATA *Data, OUT UINT8 **TempBuffer, OUT UINT32 *TempBufferSize)
EFI_STATUS IfrLibInitUpdateData (IN OUT EFI_HII_UPDATE_DATA *UpdateData, IN UINT32 BufferSize)
EFI_STATUS IfrLibFreeUpdateData (IN EFI_HII_UPDATE_DATA *UpdateData)
EFI_STATUS IfrLibUpdateForm (IN EFI_HII_HANDLE Handle, IN EFI_GUID *FormSetGuid, OPTIONAL IN EFI_FORM_ID FormId, IN UINT16 Label, IN BOOLEAN Insert, IN EFI_HII_UPDATE_DATA *Data)
EFI_STATUS IfrLibCreatePopUp (IN UINTN NumberOfLines, OUT EFI_INPUT_KEY *KeyValue, IN CHAR16 *String,...)
EFI_STATUS ExtractDefault (IN VOID *Buffer, IN UINTN *BufferSize, UINTN Number,...)
EFI_STATUS ExtractBlockName (IN UINT8 *Buffer, OUT CHAR16 **BlockName)
EFI_STATUS ExtractBlockConfig (IN UINT8 *Buffer, OUT CHAR16 **BlockConfig)
EFI_STATUS ConstructConfigAltResp (IN EFI_STRING ConfigRequest, OPTIONAL OUT EFI_STRING *Progress, OUT EFI_STRING *ConfigAltResp, IN EFI_GUID *Guid, IN CHAR16 *Name, IN EFI_HANDLE *DriverHandle, IN VOID *BufferStorage, IN UINTN BufferStorageSize, IN VOID *BlockNameArray, OPTIONAL IN UINTN NumberAltCfg,...)
VOID SwapBuffer (IN OUT UINT8 *Buffer, IN UINTN BufferSize)
VOID ToLower (IN OUT CHAR16 *Str)
EFI_STATUS BufferToHexString (IN OUT CHAR16 *Str, IN UINT8 *Buffer, IN UINTN BufferSize)
EFI_STATUS HexStringToBuffer (IN OUT UINT8 *Buffer, IN OUT UINTN *BufferSize, IN CHAR16 *Str)
EFI_STATUS ConfigStringToUnicode (IN OUT CHAR16 *UnicodeString, IN OUT UINTN *StrBufferLen, IN CHAR16 *ConfigString)
EFI_STATUS UnicodeToConfigString (IN OUT CHAR16 *ConfigString, IN OUT UINTN *StrBufferLen, IN CHAR16 *UnicodeString)
EFI_STATUS ConstructConfigHdr (IN OUT CHAR16 *ConfigHdr, IN OUT UINTN *StrBufferLen, IN EFI_GUID *Guid, IN CHAR16 *Name, OPTIONAL IN EFI_HANDLE *DriverHandle)
BOOLEAN IsConfigHdrMatch (IN EFI_STRING ConfigString, IN EFI_GUID *StorageGuid, OPTIONAL IN CHAR16 *StorageName OPTIONAL)
BOOLEAN FindBlockName (IN OUT CHAR16 *String, UINTN Offset, UINTN Width)
EFI_STATUS GetBrowserData (EFI_GUID *VariableGuid, OPTIONAL CHAR16 *VariableName, OPTIONAL UINTN *BufferSize, UINT8 *Buffer)
EFI_STATUS SetBrowserData (EFI_GUID *VariableGuid, OPTIONAL CHAR16 *VariableName, OPTIONAL UINTN BufferSize, UINT8 *Buffer, CHAR16 *RequestElement OPTIONAL)

Variables

UINT16 mFakeConfigHdr [] = "GUID=00000000000000000000000000000000&NAME=0000&PATH=0"

Function Documentation

EFI_STATUS BufferToHexString ( IN OUT CHAR16 Str,
IN UINT8 Buffer,
IN UINTN  BufferSize 
)

Definition at line 1125 of file UefiIfrForm.c.

EFI_STATUS ConfigStringToUnicode ( IN OUT CHAR16 UnicodeString,
IN OUT UINTN StrBufferLen,
IN CHAR16 ConfigString 
)

Definition at line 1200 of file UefiIfrForm.c.

EFI_STATUS ConstructConfigAltResp ( IN EFI_STRING  ConfigRequest,
OPTIONAL OUT EFI_STRING Progress,
OUT EFI_STRING ConfigAltResp,
IN EFI_GUID Guid,
IN CHAR16 Name,
IN EFI_HANDLE DriverHandle,
IN VOID *  BufferStorage,
IN UINTN  BufferStorageSize,
IN VOID *  BlockNameArray,
OPTIONAL IN UINTN  NumberAltCfg,
  ... 
)

Definition at line 872 of file UefiIfrForm.c.

EFI_STATUS ConstructConfigHdr ( IN OUT CHAR16 ConfigHdr,
IN OUT UINTN StrBufferLen,
IN EFI_GUID Guid,
IN CHAR16 Name,
OPTIONAL IN EFI_HANDLE DriverHandle 
)

Definition at line 1326 of file UefiIfrForm.c.

EFI_STATUS ExtractBlockConfig ( IN UINT8 Buffer,
OUT CHAR16 **  BlockConfig 
)

Definition at line 777 of file UefiIfrForm.c.

EFI_STATUS ExtractBlockName ( IN UINT8 Buffer,
OUT CHAR16 **  BlockName 
)

Definition at line 699 of file UefiIfrForm.c.

EFI_STATUS ExtractDefault ( IN VOID *  Buffer,
IN UINTN BufferSize,
UINTN  Number,
  ... 
)

Definition at line 628 of file UefiIfrForm.c.

BOOLEAN FindBlockName ( IN OUT CHAR16 String,
UINTN  Offset,
UINTN  Width 
)

Definition at line 1529 of file UefiIfrForm.c.

EFI_STATUS GetBrowserData ( EFI_GUID VariableGuid,
OPTIONAL CHAR16 VariableName,
OPTIONAL UINTN BufferSize,
UINT8 Buffer 
)

Definition at line 1595 of file UefiIfrForm.c.

EFI_STATUS GetPackageDataFromPackageList ( IN EFI_HII_PACKAGE_LIST_HEADER HiiPackageList,
IN UINT32  PackageIndex,
OUT UINT32 BufferLen,
OUT EFI_HII_PACKAGE_HEADER **  Buffer 
)

Definition at line 30 of file UefiIfrForm.c.

EFI_STATUS HexStringToBuffer ( IN OUT UINT8 Buffer,
IN OUT UINTN BufferSize,
IN CHAR16 Str 
)

Definition at line 1165 of file UefiIfrForm.c.

EFI_STATUS IfrLibCreatePopUp ( IN UINTN  NumberOfLines,
OUT EFI_INPUT_KEY KeyValue,
IN CHAR16 String,
  ... 
)

Definition at line 428 of file UefiIfrForm.c.

EFI_STATUS IfrLibFreeUpdateData ( IN EFI_HII_UPDATE_DATA UpdateData)

Definition at line 274 of file UefiIfrForm.c.

EFI_STATUS IfrLibInitUpdateData ( IN OUT EFI_HII_UPDATE_DATA UpdateData,
IN UINT32  BufferSize 
)

Definition at line 242 of file UefiIfrForm.c.

EFI_STATUS IfrLibUpdateForm ( IN EFI_HII_HANDLE  Handle,
IN EFI_GUID FormSetGuid,
OPTIONAL IN EFI_FORM_ID  FormId,
IN UINT16  Label,
IN BOOLEAN  Insert,
IN EFI_HII_UPDATE_DATA Data 
)

Definition at line 304 of file UefiIfrForm.c.

BOOLEAN IsConfigHdrMatch ( IN EFI_STRING  ConfigString,
IN EFI_GUID StorageGuid,
OPTIONAL IN CHAR16 *StorageName  OPTIONAL 
)

Definition at line 1430 of file UefiIfrForm.c.

EFI_STATUS SetBrowserData ( EFI_GUID VariableGuid,
OPTIONAL CHAR16 VariableName,
OPTIONAL UINTN  BufferSize,
UINT8 Buffer,
CHAR16 *RequestElement  OPTIONAL 
)

Definition at line 1703 of file UefiIfrForm.c.

VOID SwapBuffer ( IN OUT UINT8 Buffer,
IN UINTN  BufferSize 
)

Definition at line 1069 of file UefiIfrForm.c.

VOID ToLower ( IN OUT CHAR16 Str)

Definition at line 1100 of file UefiIfrForm.c.

EFI_STATUS UnicodeToConfigString ( IN OUT CHAR16 ConfigString,
IN OUT UINTN StrBufferLen,
IN CHAR16 UnicodeString 
)

Definition at line 1263 of file UefiIfrForm.c.

EFI_STATUS UpdateFormPackageData ( IN EFI_GUID FormSetGuid,
IN EFI_FORM_ID  FormId,
IN EFI_HII_PACKAGE_HEADER Package,
IN UINT32  PackageLength,
IN UINT16  Label,
IN BOOLEAN  Insert,
IN EFI_HII_UPDATE_DATA Data,
OUT UINT8 **  TempBuffer,
OUT UINT32 TempBufferSize 
)

Definition at line 75 of file UefiIfrForm.c.


Variable Documentation

UINT16 mFakeConfigHdr[] = "GUID=00000000000000000000000000000000&NAME=0000&PATH=0"

Definition at line 27 of file UefiIfrForm.c.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines