Update the code to match spec for EfiFvbSetVolumeAttributes API.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3690 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12 2007-08-22 09:33:34 +00:00
parent d60db64055
commit d3a58e2ddf
3 changed files with 8 additions and 8 deletions

View File

@ -480,8 +480,8 @@ EfiFvbGetVolumeAttributes (
**/ **/
EFI_STATUS EFI_STATUS
EfiFvbSetVolumeAttributes ( EfiFvbSetVolumeAttributes (
IN UINTN Instance, IN UINTN Instance,
IN EFI_FVB_ATTRIBUTES Attributes IN OUT EFI_FVB_ATTRIBUTES *Attributes
) )
{ {
if (Instance >= mFvbCount) { if (Instance >= mFvbCount) {
@ -492,7 +492,7 @@ EfiFvbSetVolumeAttributes (
return EFI_INVALID_PARAMETER; return EFI_INVALID_PARAMETER;
} }
return mFvbEntry[Instance].Fvb->SetAttributes (mFvbEntry[Instance].Fvb, &Attributes); return mFvbEntry[Instance].Fvb->SetAttributes (mFvbEntry[Instance].Fvb, Attributes);
} }
/** /**

View File

@ -479,8 +479,8 @@ EfiFvbGetVolumeAttributes (
**/ **/
EFI_STATUS EFI_STATUS
EfiFvbSetVolumeAttributes ( EfiFvbSetVolumeAttributes (
IN UINTN Instance, IN UINTN Instance,
IN EFI_FVB_ATTRIBUTES Attributes IN OUT EFI_FVB_ATTRIBUTES *Attributes
) )
{ {
if (Instance >= mFvbCount) { if (Instance >= mFvbCount) {
@ -491,7 +491,7 @@ EfiFvbSetVolumeAttributes (
return EFI_INVALID_PARAMETER; return EFI_INVALID_PARAMETER;
} }
return mFvbEntry[Instance].Fvb->SetAttributes (mFvbEntry[Instance].Fvb, &Attributes); return mFvbEntry[Instance].Fvb->SetAttributes (mFvbEntry[Instance].Fvb, Attributes);
} }
/** /**

View File

@ -119,8 +119,8 @@ EfiFvbGetVolumeAttributes (
**/ **/
EFI_STATUS EFI_STATUS
EfiFvbSetVolumeAttributes ( EfiFvbSetVolumeAttributes (
IN UINTN Instance, IN UINTN Instance,
IN EFI_FVB_ATTRIBUTES Attributes IN OUT EFI_FVB_ATTRIBUTES *Attributes
); );