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

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

View File

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

View File

@ -120,7 +120,7 @@ EfiFvbGetVolumeAttributes (
EFI_STATUS
EfiFvbSetVolumeAttributes (
IN UINTN Instance,
IN EFI_FVB_ATTRIBUTES Attributes
IN OUT EFI_FVB_ATTRIBUTES *Attributes
);