GCC Build Clean: Add doxygen comment and fix build break issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6647 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12 2008-11-20 06:27:17 +00:00
parent 22d9510d9a
commit cae5044b4a
1 changed files with 9 additions and 2 deletions

View File

@ -783,6 +783,14 @@ InitializeFirmwareVolume (
return EFI_SUCCESS;
}
/**
Convert FV attributes defined in Framework Specification
to FV attributes defined in PI specification.
@param FvAttributes The FV attributes defined in Framework Specification.
@retval The FV attributes defined in PI Specification.
**/
EFI_FV_ATTRIBUTES
FvAttributesToFv2Attributes (
EFI_FV_ATTRIBUTES FvAttributes
@ -836,7 +844,6 @@ Fv2GetVolumeAttributes (
EFI_STATUS Status;
FIRMWARE_VOLUME2_PRIVATE_DATA *Private;
EFI_FIRMWARE_VOLUME_PROTOCOL *FirmwareVolume;
INTN Alignment;
Private = FIRMWARE_VOLUME2_PRIVATE_DATA_FROM_THIS (This);
FirmwareVolume = Private->FirmwareVolume;
@ -845,7 +852,7 @@ Fv2GetVolumeAttributes (
(FRAMEWORK_EFI_FV_ATTRIBUTES *)FvAttributes
);
if (!EFI_ERROR (Status)) {
*FvAttributes = FvAttributeToFv2Attribute (*FvAttributes);
*FvAttributes = FvAttributesToFv2Attributes (*FvAttributes);
}
return Status;
}