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
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue