diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-03 14:22:56 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-03 14:22:56 +0000 |
commit | 53dff89953161f6b7e266b8089bae508c5f71a4e (patch) | |
tree | 75374b5a18fa2c48b58488af7b2939b77e15fd8e /MdeModulePkg/Library/ExtendedIfrSupportLib | |
parent | aa274d2a3a6bd582c132fd754c4605734b5fa591 (diff) | |
download | edk2-platforms-53dff89953161f6b7e266b8089bae508c5f71a4e.tar.xz |
Update function comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6821 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/ExtendedIfrSupportLib')
-rw-r--r-- | MdeModulePkg/Library/ExtendedIfrSupportLib/Form.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/MdeModulePkg/Library/ExtendedIfrSupportLib/Form.c b/MdeModulePkg/Library/ExtendedIfrSupportLib/Form.c index 6e09117a57..e149d4ef1b 100644 --- a/MdeModulePkg/Library/ExtendedIfrSupportLib/Form.c +++ b/MdeModulePkg/Library/ExtendedIfrSupportLib/Form.c @@ -47,7 +47,7 @@ GetPackageDataFromPackageList ( PackageHeader.Length = 0;
PackageHeader.Type = 0;
- ASSERT(HiiPackageList != NULL);
+ ASSERT (HiiPackageList != NULL);
if ((BufferLen == NULL) || (Buffer == NULL)) {
return EFI_INVALID_PARAMETER;
@@ -83,7 +83,7 @@ GetPackageDataFromPackageList ( a form specified by FormSetGuid, FormId and Label.
@param FormSetGuid The optional Formset GUID.
- @param FormId The form ID>
+ @param FormId The Form ID.
@param Package The package header.
@param PackageLength The package length.
@param Label The label for the update.
@@ -445,7 +445,13 @@ IfrLibUpdateForm ( /**
- Configure the buffer accrording to ConfigBody strings.
+ Configure the buffer accrording to ConfigBody strings in the format of
+ <Length:4 bytes>, <Offset: 2 bytes>, <Width:2 bytes>, <Data:n bytes>.
+ This ConfigBody strings is generated by 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.
|