mirror of https://github.com/acidanthera/audk.git
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:
parent
b962b6b54d
commit
ccac388d13
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue