TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | FvGetVolumeAttributes (IN CONST EFI_FIRMWARE_VOLUME2_PROTOCOL *This, OUT EFI_FV_ATTRIBUTES *Attributes) |
EFI_STATUS EFIAPI | FvSetVolumeAttributes (IN CONST EFI_FIRMWARE_VOLUME2_PROTOCOL *This, IN OUT EFI_FV_ATTRIBUTES *Attributes) |
EFI_STATUS EFIAPI | FvGetVolumeInfo (IN CONST EFI_FIRMWARE_VOLUME2_PROTOCOL *This, IN CONST EFI_GUID *InformationType, IN OUT UINTN *BufferSize, OUT VOID *Buffer) |
EFI_STATUS EFIAPI | FvSetVolumeInfo (IN CONST EFI_FIRMWARE_VOLUME2_PROTOCOL *This, IN CONST EFI_GUID *InformationType, IN UINTN BufferSize, IN CONST VOID *Buffer) |
Implements get/set firmware volume attributes
Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file FwVolAttrib.c.
EFI_STATUS EFIAPI FvGetVolumeAttributes | ( | IN CONST EFI_FIRMWARE_VOLUME2_PROTOCOL * | This, |
OUT EFI_FV_ATTRIBUTES * | Attributes | ||
) |
Retrieves attributes, insures positive polarity of attribute bits, returns resulting attributes in output parameter.
This | Calling context |
Attributes | output buffer which contains attributes |
EFI_SUCCESS | Successfully got volume attributes |
Definition at line 24 of file FwVolAttrib.c.
EFI_STATUS EFIAPI FvGetVolumeInfo | ( | IN CONST EFI_FIRMWARE_VOLUME2_PROTOCOL * | This, |
IN CONST EFI_GUID * | InformationType, | ||
IN OUT UINTN * | BufferSize, | ||
OUT VOID * | Buffer | ||
) |
Return information of type InformationType for the requested firmware volume.
This | Pointer to EFI_FIRMWARE_VOLUME2_PROTOCOL. |
InformationType | InformationType for requested. |
BufferSize | On input, size of Buffer.On output, the amount of data returned in Buffer. |
Buffer | A poniter to the data buffer to return. |
EFI_SUCCESS | Successfully got volume Information. |
Definition at line 87 of file FwVolAttrib.c.
EFI_STATUS EFIAPI FvSetVolumeAttributes | ( | IN CONST EFI_FIRMWARE_VOLUME2_PROTOCOL * | This, |
IN OUT EFI_FV_ATTRIBUTES * | Attributes | ||
) |
Sets current attributes for volume
This | Calling context |
Attributes | At input, contains attributes to be set. At output contains new value of FV |
EFI_UNSUPPORTED | Could not be set. |
Definition at line 64 of file FwVolAttrib.c.
EFI_STATUS EFIAPI FvSetVolumeInfo | ( | IN CONST EFI_FIRMWARE_VOLUME2_PROTOCOL * | This, |
IN CONST EFI_GUID * | InformationType, | ||
IN UINTN | BufferSize, | ||
IN CONST VOID * | Buffer | ||
) |
Set information of type InformationType for the requested firmware volume.
This | Pointer to EFI_FIRMWARE_VOLUME2_PROTOCOL. |
InformationType | InformationType for requested. |
BufferSize | On input, size of Buffer.On output, the amount of data returned in Buffer. |
Buffer | A poniter to the data buffer to return. |
EFI_SUCCESS | Successfully set volume Information. |
Definition at line 112 of file FwVolAttrib.c.