]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Library/ExtendedIfrSupportLib.h
Correct typo in comments, clean IfrSupportLib.h
[mirror_edk2.git] / MdeModulePkg / Include / Library / ExtendedIfrSupportLib.h
index a10ebac6aa709efa4c4a0d61573cc313f1970216..920d0f483c921e7db0dbd4b5f04fdfb1bbdfcfe9 100644 (file)
@@ -51,6 +51,7 @@ CreateBannerOpCode (
 \r
 **/\r
 EFI_STATUS\r
+EFIAPI\r
 IfrLibInitUpdateData (\r
   IN OUT EFI_HII_UPDATE_DATA   *UpdateData,\r
   IN UINT32                    BufferSize\r
@@ -63,11 +64,9 @@ IfrLibInitUpdateData (
 \r
   @param UpdateData      The adding data;\r
 \r
-  @retval EFI_SUCCESS            Resource in UpdateData is released.\r
-  @retval EFI_INVALID_PARAMETER  UpdateData is NULL.\r
-\r
 **/\r
-EFI_STATUS\r
+VOID\r
+EFIAPI\r
 IfrLibFreeUpdateData (\r
   IN EFI_HII_UPDATE_DATA       *UpdateData\r
   )\r
@@ -107,7 +106,7 @@ IfrLibUpdateForm (
   );\r
 \r
 /**\r
-  Extract formset class for given HII handle.\r
+  Extract EDKII extended formset class for a given HII handle.\r
 \r
   If Handle is not a valid EFI_HII_HANDLE in the default HII database, then\r
   ASSERT.\r
@@ -117,9 +116,9 @@ IfrLibUpdateForm (
   If FormSetHelp is NULL, then ASSERT.\r
 \r
   @param  HiiHandle              Hii handle\r
-  @param  Class                    On output, Class of the formset\r
-  @param  FormSetTitle          On output,  Formset title string\r
-  @param  FormSetHelp          On output,   Formset help string\r
+  @param  Class                  On output, Class of the formset\r
+  @param  FormSetTitle           On output,  Formset title string\r
+  @param  FormSetHelp            On output,   Formset help string\r
 \r
   @retval EFI_SUCCESS            Successfully extract Class for specified Hii\r
                                  handle.\r
@@ -137,6 +136,11 @@ IfrLibExtractClassFromHiiHandle (
 /**\r
   Configure the buffer accrording to ConfigBody strings in the format of\r
   <Length:4 bytes>, <Offset: 2 bytes>, <Width:2 bytes>, <Data:n bytes>.\r
+  This ConfigBody strings is generated by EDKII UEFI VfrCompiler for the default\r
+  values in a Form Set. The name of the ConfigBody strings is VfrMyIfrNVDataDefault0000\r
+  constructed following this rule: \r
+   "Vfr" + varstore.name + "Default" + defaultstore.attributes.\r
+  Check the generated C file in Output for details.\r
 \r
   @param  Buffer                 the start address of buffer.\r
   @param  BufferSize             the size of buffer.\r