From 8d00a0f1955de7aa4b658009a36df5165d0a75be Mon Sep 17 00:00:00 2001 From: qwang12 Date: Tue, 4 Nov 2008 14:28:08 +0000 Subject: Sync in bug fix from EDK I: 1) issue with setup browser and IFR refresh opcode 2) [HII]HIIConfigRoutingExportConfig generate error format of 3) [HII] ConfigRouting->ExtractConfig() will cause overflow 4) [Hii Database] EFI_HII_DATABASE_NOTIFY should be invoked when a string package is created internally when a new String Token is created 5) [PT]HIIConfigAccessProtocolTest fail on NT32uefi 6) Incorrect HII package types in EDK git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6378 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Include/Library/ExtendedIfrSupportLib.h | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'MdeModulePkg/Include/Library') diff --git a/MdeModulePkg/Include/Library/ExtendedIfrSupportLib.h b/MdeModulePkg/Include/Library/ExtendedIfrSupportLib.h index 2d8db3b9e2..a10ebac6aa 100644 --- a/MdeModulePkg/Include/Library/ExtendedIfrSupportLib.h +++ b/MdeModulePkg/Include/Library/ExtendedIfrSupportLib.h @@ -39,6 +39,40 @@ CreateBannerOpCode ( IN OUT EFI_HII_UPDATE_DATA *Data ); +/** + This function initialize the data structure for dynamic opcode. + + @param UpdateData The adding data; + @param BufferSize Length of the buffer to fill dynamic opcodes. + + @retval EFI_SUCCESS Update data is initialized. + @retval EFI_INVALID_PARAMETER UpdateData is NULL. + @retval EFI_OUT_OF_RESOURCES No enough memory to allocate. + +**/ +EFI_STATUS +IfrLibInitUpdateData ( + IN OUT EFI_HII_UPDATE_DATA *UpdateData, + IN UINT32 BufferSize + ) +; + +/** + + This function free the resource of update data. + + @param UpdateData The adding data; + + @retval EFI_SUCCESS Resource in UpdateData is released. + @retval EFI_INVALID_PARAMETER UpdateData is NULL. + +**/ +EFI_STATUS +IfrLibFreeUpdateData ( + IN EFI_HII_UPDATE_DATA *UpdateData + ) +; + /** This function allows the caller to update a form that has previously been registered with the EFI HII database. -- cgit v1.2.3