]>
git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.h
d602ae1fa84c08a1d0754bd57db8b4e1eff2dfad
2 Save Non-Volatile Variables to a file system.
4 Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #ifndef __NV_VARS_FILE_LIB_INSTANCE__
10 #define __NV_VARS_FILE_LIB_INSTANCE__
14 #include <Guid/FileInfo.h>
16 #include <Protocol/SimpleFileSystem.h>
18 #include <Library/BaseLib.h>
19 #include <Library/FileHandleLib.h>
20 #include <Library/SerializeVariablesLib.h>
21 #include <Library/UefiBootServicesTableLib.h>
22 #include <Library/UefiRuntimeServicesTableLib.h>
23 #include <Library/UefiLib.h>
26 Loads the non-volatile variables from the NvVars file on the
29 @param[in] FsHandle - Handle for a gEfiSimpleFileSystemProtocolGuid instance
31 @return EFI_STATUS based on the success or failure of load operation
41 Saves the non-volatile variables into the NvVars file on the
44 @param[in] FsHandle - Handle for a gEfiSimpleFileSystemProtocolGuid instance
46 @return EFI_STATUS based on the success or failure of load operation