]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Include/Library/NvVarsFileLib.h
OvmfPkg: Apply uncrustify changes
[mirror_edk2.git] / OvmfPkg / Include / Library / NvVarsFileLib.h
index 63b1642f541dd2d0b139894b29a5ac3c119a9920..c2fb5c68466e228144e2eaeccb82f77251401530 100644 (file)
@@ -1,14 +1,8 @@
 /** @file\r
   Provides functions to save and restore NV variables in a file.\r
 \r
-  Copyright (c) 2009, Intel Corporation<BR>\r
-  All rights reserved. This program and the accompanying materials\r
-  are licensed and made available under the terms and conditions of the BSD License\r
-  which accompanies this distribution.  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+  Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
 EFI_STATUS\r
 EFIAPI\r
 ConnectNvVarsToFileSystem (\r
-  IN EFI_HANDLE    FsHandle\r
+  IN EFI_HANDLE  FsHandle\r
   );\r
 \r
-#endif\r
+/**\r
+  Update non-volatile variables stored on the file system.\r
+\r
+  @return     The EFI_STATUS while attempting to update the variable on\r
+              the connected file system.\r
+  @retval     EFI_SUCCESS - The non-volatile variables were saved to the disk\r
+  @retval     EFI_NOT_STARTED - A file system has not been connected\r
+\r
+**/\r
+EFI_STATUS\r
+EFIAPI\r
+UpdateNvVarsOnFileSystem (\r
+  );\r
 \r
+#endif\r