]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
Implement NvVarsFileLib to save and restore non-volatile variables using a file.
[mirror_edk2.git] / OvmfPkg / Library / NvVarsFileLib / NvVarsFileLib.inf
1 #/** @file
2 # NvVarsFileLib
3 #
4 # This kibrary saves and restores non-volatile variables in a
5 # file within a file system.
6 #
7 # Copyright (c) 2006 - 2009, Intel Corporation
8 #
9 # All rights reserved. This program and the accompanying materials
10 # are licensed and made available under the terms and conditions of the BSD License
11 # which accompanies this distribution. The full text of the license may be found at
12 # http://opensource.org/licenses/bsd-license.php
13 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #
16 #
17 #**/
18
19 [Defines]
20 INF_VERSION = 0x00010005
21 BASE_NAME = NvVarsFileLib
22 FILE_GUID = 9172fe8b-9a36-40f8-bba5-5e57a44390bd
23 MODULE_TYPE = UEFI_DRIVER
24 VERSION_STRING = 1.0
25 LIBRARY_CLASS = NvVarsFileLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER UEFI_DRIVER
26
27 #
28 # The following information is for reference only and not required by the build tools.
29 #
30 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
31 #
32
33 [Sources.common]
34 FsAccess.c
35 NvVarsFileLib.c
36 VarBuffer.c
37
38 [Packages]
39 MdePkg/MdePkg.dec
40 MdeModulePkg/MdeModulePkg.dec
41 OvmfPkg/OvmfPkg.dec
42 ShellPkg/ShellPkg.dec
43
44 [LibraryClasses]
45 BaseLib
46 BaseMemoryLib
47 DebugLib
48 FileHandleLib
49 MemoryAllocationLib
50
51 [Protocols]
52 gEfiSimpleFileSystemProtocolGuid ## CONSUMES
53
54
55 [Guids]
56 gEfiFileInfoGuid
57
58 [Depex]
59 gEfiVariableWriteArchProtocolGuid
60