Last change
on this file since 85716 was 80721, checked in by vboxsync, 5 years ago |
Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643
|
-
Property svn:eol-style
set to
native
|
File size:
1.1 KB
|
Line | |
---|
1 | /** @file
|
---|
2 | Provides functions to save and restore NV variables in a file.
|
---|
3 |
|
---|
4 | Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>
|
---|
5 | SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
6 |
|
---|
7 | **/
|
---|
8 |
|
---|
9 | #ifndef __NV_VARS_FILE_LIB__
|
---|
10 | #define __NV_VARS_FILE_LIB__
|
---|
11 |
|
---|
12 | /**
|
---|
13 | Attempts to connect the NvVarsFileLib to the specified file system.
|
---|
14 |
|
---|
15 | @param[in] FsHandle - Handle for a gEfiSimpleFileSystemProtocolGuid instance
|
---|
16 |
|
---|
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
|
---|
20 |
|
---|
21 | **/
|
---|
22 | EFI_STATUS
|
---|
23 | EFIAPI
|
---|
24 | ConnectNvVarsToFileSystem (
|
---|
25 | IN EFI_HANDLE FsHandle
|
---|
26 | );
|
---|
27 |
|
---|
28 |
|
---|
29 | /**
|
---|
30 | Update non-volatile variables stored on the file system.
|
---|
31 |
|
---|
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
|
---|
36 |
|
---|
37 | **/
|
---|
38 | EFI_STATUS
|
---|
39 | EFIAPI
|
---|
40 | UpdateNvVarsOnFileSystem (
|
---|
41 | );
|
---|
42 |
|
---|
43 |
|
---|
44 | #endif
|
---|
45 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.