Add in more comments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5538 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12 2008-07-21 12:13:37 +00:00
parent b962b6b54d
commit ccac388d13
1 changed files with 7 additions and 1 deletions

View File

@ -94,6 +94,9 @@ InternalHiiLibPreparePackages (
MarkerBackup = Marker;
//
// Count the lenth of the final package list.
//
for (Index = 0; Index < NumberOfPackages; Index++) {
CopyMem (&PackageLength, VA_ARG (Marker, VOID *), sizeof (UINT32));
//
@ -115,6 +118,9 @@ InternalHiiLibPreparePackages (
PackageListData = ((UINT8 *) PackageListHeader) + sizeof (EFI_HII_PACKAGE_LIST_HEADER);
Marker = MarkerBackup;
//
// Prepare the final package list.
//
for (Index = 0; Index < NumberOfPackages; Index++) {
PackageArray = (UINT8 *) VA_ARG (Marker, VOID *);
CopyMem (&PackageLength, PackageArray, sizeof (UINT32));