]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Include/Library/NvVarsFileLib.h
OVMF: Add support for saving the NV variables to disk following each SetVariable...
[mirror_edk2.git] / OvmfPkg / Include / Library / NvVarsFileLib.h
index 63b1642f541dd2d0b139894b29a5ac3c119a9920..1a14b3fe9cb1be6eafc846a8723015bab5d62270 100644 (file)
@@ -31,5 +31,21 @@ ConnectNvVarsToFileSystem (
   IN EFI_HANDLE    FsHandle\r
   );\r
 \r
+\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
+\r
 #endif\r
 \r