VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/Include/Library/NvVarsFileLib.h@ 75265

Last change on this file since 75265 was 48674, checked in by vboxsync, 11 years ago

EFI: Export newly imported tinaocore UEFI sources to OSE.

  • Property svn:eol-style set to native
File size: 1.4 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 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13**/
14
15#ifndef __NV_VARS_FILE_LIB__
16#define __NV_VARS_FILE_LIB__
17
18/**
19 Attempts to connect the NvVarsFileLib to the specified file system.
20
21 @param[in] FsHandle - Handle for a gEfiSimpleFileSystemProtocolGuid instance
22
23 @return The EFI_STATUS while attempting to connect the NvVarsFileLib
24 to the file system instance.
25 @retval EFI_SUCCESS - The given file system was connected successfully
26
27**/
28EFI_STATUS
29EFIAPI
30ConnectNvVarsToFileSystem (
31 IN EFI_HANDLE FsHandle
32 );
33
34
35/**
36 Update non-volatile variables stored on the file system.
37
38 @return The EFI_STATUS while attempting to update the variable on
39 the connected file system.
40 @retval EFI_SUCCESS - The non-volatile variables were saved to the disk
41 @retval EFI_NOT_STARTED - A file system has not been connected
42
43**/
44EFI_STATUS
45EFIAPI
46UpdateNvVarsOnFileSystem (
47 );
48
49
50#endif
51
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette