TianoCore EDK2 master
Loading...
Searching...
No Matches
VariableFlashInfoLib.h File Reference

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI GetVariableFlashNvStorageInfo (OUT EFI_PHYSICAL_ADDRESS *BaseAddress, OUT UINT64 *Length)
 
EFI_STATUS EFIAPI GetVariableFlashFtwSpareInfo (OUT EFI_PHYSICAL_ADDRESS *BaseAddress, OUT UINT64 *Length)
 
EFI_STATUS EFIAPI GetVariableFlashFtwWorkingInfo (OUT EFI_PHYSICAL_ADDRESS *BaseAddress, OUT UINT64 *Length)
 

Detailed Description

Variable Flash Information Library

Copyright (c) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file VariableFlashInfoLib.h.

Function Documentation

◆ GetVariableFlashFtwSpareInfo()

EFI_STATUS EFIAPI GetVariableFlashFtwSpareInfo ( OUT EFI_PHYSICAL_ADDRESS BaseAddress,
OUT UINT64 *  Length 
)

Get the base address and size for the fault tolerant write (FTW) spare area used for UEFI variable storage.

Parameters
[out]BaseAddressThe FTW spare base address.
[out]LengthThe FTW spare length in bytes.
Return values
EFI_SUCCESSFTW spare information was found successfully.
EFI_INVALID_PARAMETERA required pointer parameter is NULL.
EFI_NOT_FOUNDFTW spare information could not be found.

Definition at line 113 of file BaseVariableFlashInfoLib.c.

◆ GetVariableFlashFtwWorkingInfo()

EFI_STATUS EFIAPI GetVariableFlashFtwWorkingInfo ( OUT EFI_PHYSICAL_ADDRESS BaseAddress,
OUT UINT64 *  Length 
)

Get the base address and size for the fault tolerant write (FTW) working area used for UEFI variable storage.

Parameters
[out]BaseAddressThe FTW working area base address.
[out]LengthThe FTW working area length in bytes.
Return values
EFI_SUCCESSFTW working information was found successfully.
EFI_INVALID_PARAMETERA required pointer parameter is NULL.
EFI_NOT_FOUNDFTW working information could not be found.

Definition at line 154 of file BaseVariableFlashInfoLib.c.

◆ GetVariableFlashNvStorageInfo()

EFI_STATUS EFIAPI GetVariableFlashNvStorageInfo ( OUT EFI_PHYSICAL_ADDRESS BaseAddress,
OUT UINT64 *  Length 
)

Get the base address and size for the NV storage area used for UEFI variable storage.

Parameters
[out]BaseAddressThe NV storage base address.
[out]LengthThe NV storage length in bytes.
Return values
EFI_SUCCESSNV storage information was found successfully.
EFI_INVALID_PARAMETERA required pointer parameter is NULL.
EFI_NOT_FOUNDNV storage information could not be found.

Get the base address and size for the NV storage area used for UEFI variable storage.

Parameters
[out]BaseAddressThe NV storage base address.
[out]LengthThe NV storage length in bytes.
Return values
EFI_SUCCESSNV storage information was found successfully.
EFI_INVALID_PARAMETERA required pointer parameter is NULL.

Definition at line 72 of file BaseVariableFlashInfoLib.c.