diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-20 06:27:17 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-20 06:27:17 +0000 |
commit | cae5044b4a422eb794627992f3344dec28813523 (patch) | |
tree | 5936f9f55c9df2050e3fdb192271977e3b6ccbf8 /EdkCompatibilityPkg | |
parent | 22d9510d9af09c2affb829191ea696ce4211ac84 (diff) | |
download | edk2-platforms-cae5044b4a422eb794627992f3344dec28813523.tar.xz |
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
Diffstat (limited to 'EdkCompatibilityPkg')
-rw-r--r-- | EdkCompatibilityPkg/Compatibility/Fv2ToFvThunk/Fv2ToFvThunk.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/EdkCompatibilityPkg/Compatibility/Fv2ToFvThunk/Fv2ToFvThunk.c b/EdkCompatibilityPkg/Compatibility/Fv2ToFvThunk/Fv2ToFvThunk.c index 6a2b1f8643..6b825e1e6f 100644 --- a/EdkCompatibilityPkg/Compatibility/Fv2ToFvThunk/Fv2ToFvThunk.c +++ b/EdkCompatibilityPkg/Compatibility/Fv2ToFvThunk/Fv2ToFvThunk.c @@ -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;
}
|