]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/Include/Library/NvVarsFileLib.h
OVMF: Convert from EmuVariableRuntimeDxe to VariableRuntimeDxe.
[mirror_edk2.git] / OvmfPkg / Include / Library / NvVarsFileLib.h
CommitLineData
50944545 1/** @file\r
2 Provides functions to save and restore NV variables in a file.\r
3\r
4 Copyright (c) 2009, Intel Corporation<BR>\r
5 All rights reserved. This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#ifndef __NV_VARS_FILE_LIB__\r
16#define __NV_VARS_FILE_LIB__\r
17\r
18/**\r
19 Attempts to connect the NvVarsFileLib to the specified file system.\r
20\r
21 @param[in] FsHandle - Handle for a gEfiSimpleFileSystemProtocolGuid instance\r
22\r
23 @return The EFI_STATUS while attempting to connect the NvVarsFileLib\r
24 to the file system instance.\r
25 @retval EFI_SUCCESS - The given file system was connected successfully\r
26\r
27**/\r
28EFI_STATUS\r
29EFIAPI\r
30ConnectNvVarsToFileSystem (\r
31 IN EFI_HANDLE FsHandle\r
32 );\r
33\r
34#endif\r
35\r