]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Update function comment.
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 3 Dec 2008 14:22:56 +0000 (14:22 +0000)
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 3 Dec 2008 14:22:56 +0000 (14:22 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6821 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Include/Library/ExtendedIfrSupportLib.h
MdeModulePkg/Library/ExtendedIfrSupportLib/Form.c

index cbfa4f77b7ecfc042bbe130b98ffe601d11456bf..a154745dfd097f0fcd4bcee5b0149fe13e4c724d 100644 (file)
@@ -134,6 +134,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 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
index 6e09117a57dc91a3c14af0dd4e361b1aef511ad5..e149d4ef1ba0df76eb92c8dd024a4765e2d561e1 100644 (file)
@@ -47,7 +47,7 @@ GetPackageDataFromPackageList (
   PackageHeader.Length = 0;\r
   PackageHeader.Type   = 0;\r
 \r
-  ASSERT(HiiPackageList != NULL);\r
+  ASSERT (HiiPackageList != NULL);\r
 \r
   if ((BufferLen == NULL) || (Buffer == NULL)) {\r
     return EFI_INVALID_PARAMETER;\r
@@ -83,7 +83,7 @@ GetPackageDataFromPackageList (
   a form specified by FormSetGuid, FormId and Label.\r
 \r
   @param FormSetGuid     The optional Formset GUID.\r
-  @param FormId          The form ID>\r
+  @param FormId          The Form ID.\r
   @param Package         The package header.\r
   @param PackageLength   The package length.\r
   @param Label           The label for the update.\r
@@ -445,7 +445,13 @@ IfrLibUpdateForm (
 \r
 \r
 /**\r
-  Configure the buffer accrording to ConfigBody strings.\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 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