mirror of https://github.com/acidanthera/audk.git
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:
parent
d60db64055
commit
d3a58e2ddf
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -120,7 +120,7 @@ EfiFvbGetVolumeAttributes (
|
|||
EFI_STATUS
|
||||
EfiFvbSetVolumeAttributes (
|
||||
IN UINTN Instance,
|
||||
IN EFI_FVB_ATTRIBUTES Attributes
|
||||
IN OUT EFI_FVB_ATTRIBUTES *Attributes
|
||||
);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue