summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core/Dxe/FwVol/FwVolAttrib.c
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-24 02:54:45 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-24 02:54:45 +0000
commit022c6d45ef78605c173023f53984e4dfaf7b11f4 (patch)
treeb0e51fb630da1ded7af48ba85a60c643037da22e /MdeModulePkg/Core/Dxe/FwVol/FwVolAttrib.c
parent11c11e4ecf4c3bb41ede73fe88ac29dc67195aa9 (diff)
downloadedk2-platforms-022c6d45ef78605c173023f53984e4dfaf7b11f4.tar.xz
Code Scrub for Dxe Core.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5560 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/Dxe/FwVol/FwVolAttrib.c')
-rw-r--r--MdeModulePkg/Core/Dxe/FwVol/FwVolAttrib.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/MdeModulePkg/Core/Dxe/FwVol/FwVolAttrib.c b/MdeModulePkg/Core/Dxe/FwVol/FwVolAttrib.c
index 34067abc2f..1b629ddf1f 100644
--- a/MdeModulePkg/Core/Dxe/FwVol/FwVolAttrib.c
+++ b/MdeModulePkg/Core/Dxe/FwVol/FwVolAttrib.c
@@ -19,8 +19,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Retrieves attributes, insures positive polarity of attribute bits, returns
resulting attributes in output parameter.
- @param This Calling context
- @param Attributes output buffer which contains attributes
+ @param This Calling context
+ @param Attributes output buffer which contains attributes
@retval EFI_SUCCESS Successfully got volume attributes
@@ -53,12 +53,12 @@ FvGetVolumeAttributes (
Status = Fvb->GetAttributes (Fvb, &FvbAttributes);
//
- // Mask out Fvb bits that are not defined in FV
+ // Mask out Fvb bits that are not defined in FV
//
FvbAttributes &= 0xfffff0ff;
-
- *Attributes = (EFI_FV_ATTRIBUTES)FvbAttributes;
-
+
+ *Attributes = (EFI_FV_ATTRIBUTES)FvbAttributes;
+
return Status;
}
@@ -67,9 +67,9 @@ FvGetVolumeAttributes (
/**
Sets current attributes for volume
- @param This Calling context
- @param Attributes At input, contains attributes to be set. At output
- contains new value of FV
+ @param This Calling context
+ @param Attributes At input, contains attributes to be set. At output
+ contains new value of FV
@retval EFI_UNSUPPORTED Could not be set.
@@ -89,11 +89,11 @@ FvSetVolumeAttributes (
Return information of type InformationType for the requested firmware
volume.
- @param This Pointer to EFI_FIRMWARE_VOLUME2_PROTOCOL.
- @param InformationType InformationType for requested.
- @param BufferSize On input, size of Buffer.On output, the amount of data
- returned in Buffer.
- @param Buffer A poniter to the data buffer to return.
+ @param This Pointer to EFI_FIRMWARE_VOLUME2_PROTOCOL.
+ @param InformationType InformationType for requested.
+ @param BufferSize On input, size of Buffer.On output, the amount of data
+ returned in Buffer.
+ @param Buffer A poniter to the data buffer to return.
@retval EFI_SUCCESS Successfully got volume Information.
@@ -116,11 +116,11 @@ FvGetVolumeInfo (
Set information of type InformationType for the requested firmware
volume.
- @param This Pointer to EFI_FIRMWARE_VOLUME2_PROTOCOL.
- @param InformationType InformationType for requested.
- @param BufferSize On input, size of Buffer.On output, the amount of data
- returned in Buffer.
- @param Buffer A poniter to the data buffer to return.
+ @param This Pointer to EFI_FIRMWARE_VOLUME2_PROTOCOL.
+ @param InformationType InformationType for requested.
+ @param BufferSize On input, size of Buffer.On output, the amount of data
+ returned in Buffer.
+ @param Buffer A poniter to the data buffer to return.
@retval EFI_SUCCESS Successfully set volume Information.