]>
git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Include/Library/NvVarsFileLib.h
2 Provides functions to save and restore NV variables in a file.
4 Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #ifndef __NV_VARS_FILE_LIB__
10 #define __NV_VARS_FILE_LIB__
13 Attempts to connect the NvVarsFileLib to the specified file system.
15 @param[in] FsHandle - Handle for a gEfiSimpleFileSystemProtocolGuid instance
17 @return The EFI_STATUS while attempting to connect the NvVarsFileLib
18 to the file system instance.
19 @retval EFI_SUCCESS - The given file system was connected successfully
24 ConnectNvVarsToFileSystem (
25 IN EFI_HANDLE FsHandle
30 Update non-volatile variables stored on the file system.
32 @return The EFI_STATUS while attempting to update the variable on
33 the connected file system.
34 @retval EFI_SUCCESS - The non-volatile variables were saved to the disk
35 @retval EFI_NOT_STARTED - A file system has not been connected
40 UpdateNvVarsOnFileSystem (