Last change
on this file since 105681 was 99404, checked in by vboxsync, 2 years ago |
Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643
|
-
Property svn:eol-style
set to
native
|
File size:
1.2 KB
|
Line | |
---|
1 | /** @file
|
---|
2 | Save Non-Volatile Variables to a file system.
|
---|
3 |
|
---|
4 | Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
|
---|
5 | SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
6 |
|
---|
7 | **/
|
---|
8 |
|
---|
9 | #ifndef __NV_VARS_FILE_LIB_INSTANCE__
|
---|
10 | #define __NV_VARS_FILE_LIB_INSTANCE__
|
---|
11 |
|
---|
12 | #include <Uefi.h>
|
---|
13 |
|
---|
14 | #include <Guid/FileInfo.h>
|
---|
15 |
|
---|
16 | #include <Protocol/SimpleFileSystem.h>
|
---|
17 |
|
---|
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>
|
---|
24 |
|
---|
25 | /**
|
---|
26 | Loads the non-volatile variables from the NvVars file on the
|
---|
27 | given file system.
|
---|
28 |
|
---|
29 | @param[in] FsHandle - Handle for a gEfiSimpleFileSystemProtocolGuid instance
|
---|
30 |
|
---|
31 | @return EFI_STATUS based on the success or failure of load operation
|
---|
32 |
|
---|
33 | **/
|
---|
34 | EFI_STATUS
|
---|
35 | LoadNvVarsFromFs (
|
---|
36 | EFI_HANDLE FsHandle
|
---|
37 | );
|
---|
38 |
|
---|
39 | /**
|
---|
40 | Saves the non-volatile variables into the NvVars file on the
|
---|
41 | given file system.
|
---|
42 |
|
---|
43 | @param[in] FsHandle - Handle for a gEfiSimpleFileSystemProtocolGuid instance
|
---|
44 |
|
---|
45 | @return EFI_STATUS based on the success or failure of load operation
|
---|
46 |
|
---|
47 | **/
|
---|
48 | EFI_STATUS
|
---|
49 | SaveNvVarsToFs (
|
---|
50 | EFI_HANDLE FsHandle
|
---|
51 | );
|
---|
52 |
|
---|
53 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.