X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FInclude%2FLibrary%2FHiiLib.h;h=1f68261522e871ac268a604cdc35c72b8e2a8cd8;hp=81fdaabd470b5acbdea53e25452b8a8ce75b438e;hb=1f1cb2f2166f48a63b54dfc40f43c1a998e00a37;hpb=b347c1bceb394b394ce26500bb900417a730194c diff --git a/MdeModulePkg/Include/Library/HiiLib.h b/MdeModulePkg/Include/Library/HiiLib.h index 81fdaabd47..1f68261522 100644 --- a/MdeModulePkg/Include/Library/HiiLib.h +++ b/MdeModulePkg/Include/Library/HiiLib.h @@ -328,55 +328,6 @@ HiiValidateSettings ( IN CONST EFI_STRING Request OPTIONAL ); -/** - Allocates and returns a Null-terminated Unicode string. - - If Guid is NULL, then ASSERT(). - If Name is NULL, then ASSERT(). - If BlockNameArray is NULL, then ASSERT(). - - @param[in] Guid GUID of the buffer storage. - @param[in] Name Name of the buffer storage. - @param[in] DriverHandle The DriverHandle that support a Device Path - Protocol. - @param[in] BufferStorage Content of the buffer storage. - @param[in] BufferStorageSize Length in bytes of the buffer storage. - @param[in] BlockNameArray Array generated by VFR compiler. This array - contains a UINT32 value that is the length - of BlockNameArray in bytes, followed by pairs - of 16-bit values that are the offset and length - values used to contruct a string. - @param[in] ... A variable argument list that contains pairs of 16-bit - ALTCFG identifiers and pointers to DefaultValueArrays. - The variable argument list is terminated by a NULL - DefaultValueArray pointer. A DefaultValueArray - contains a UINT32 value that is the length, in bytes, - of the DefaultValueArray. The UINT32 length value - is followed by a series of records that contain - a 16-bit WIDTH value followed by a byte array with - WIDTH entries. The records must be parsed from - beginning to end until the UINT32 length limit - is reached. - - @retval NULL There are not enough resources to process the request. - @retval NULL A could not be retrieved from the Config - Routing Protocol. - @retval Other A pointer to the Null-terminate Unicode - string. - -**/ -EFI_STRING -EFIAPI -HiiConstructConfigAltResp ( - IN CONST EFI_GUID *Guid, - IN CONST CHAR16 *Name, - IN EFI_HANDLE DriverHandle, - IN CONST VOID *BufferStorage, - IN UINTN BufferStorageSize, - IN CONST VOID *BlockNameArray, - ... - ); - /** Determines if the routing data specified by GUID and NAME match a . @@ -990,32 +941,4 @@ HiiUpdateForm ( IN VOID *EndOpcodeHandle OPTIONAL ); -/** - Configure the buffer accrording to ConfigBody strings in the format of - , , , . - This ConfigBody strings is generated by EDKII UEFI VfrCompiler for the default - values in a Form Set. The name of the ConfigBody strings is VfrMyIfrNVDataDefault0000 - constructed following this rule: - "Vfr" + varstore.name + "Default" + defaultstore.attributes. - Check the generated C file in Output for details. - - @param Buffer the start address of buffer. - @param BufferSize the size of buffer. - @param Number the number of the ConfigBody strings. - @param ... the ConfigBody strings - - @retval EFI_BUFFER_TOO_SMALL the BufferSize is too small to operate. - @retval EFI_INVALID_PARAMETER Buffer is NULL or BufferSize is 0. - @retval EFI_SUCCESS Operation successful. - -**/ -EFI_STATUS -EFIAPI -HiiIfrLibExtractDefault( - IN VOID *Buffer, - IN UINTN *BufferSize, - UINTN Number, - ... - ); - #endif