summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Include/Library
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-04 14:28:08 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-04 14:28:08 +0000
commit8d00a0f1955de7aa4b658009a36df5165d0a75be (patch)
tree1eec5d9bd12036da7ebf1ec38d5f7afbfd2a4e03 /MdeModulePkg/Include/Library
parent9185c388a9e992bcbcf38d10fb24321a60950562 (diff)
downloadedk2-platforms-8d00a0f1955de7aa4b658009a36df5165d0a75be.tar.xz
Sync in bug fix from EDK I:
1) issue with setup browser and IFR refresh opcode 2) [HII]HIIConfigRoutingExportConfig generate error format of <MultiConfigAltResp> 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
Diffstat (limited to 'MdeModulePkg/Include/Library')
-rw-r--r--MdeModulePkg/Include/Library/ExtendedIfrSupportLib.h34
1 files changed, 34 insertions, 0 deletions
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
@@ -40,6 +40,40 @@ CreateBannerOpCode (
);
/**
+ 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.
The update make use of a extended opcode EFI_IFR_EXTEND_OP_LABEL