]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/FwVol/FwVolWrite.c
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / FwVol / FwVolWrite.c
index 5fe01a4889aa2bd7f244f6f2a0ebddecdd50f26b..3a3b569b7486e4a22ae6eb0dc4a576198790dd2a 100644 (file)
@@ -1,40 +1,33 @@
-/** @file \r
-\r
+/** @file\r
   Implements functions to write firmware file\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation                                                         \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) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
-#include <DxeMain.h>\r
-\r
+#include "DxeMain.h"\r
+#include "FwVolDriver.h"\r
 \r
 \r
 /**\r
   Writes one or more files to the firmware volume.\r
 \r
-  @param  This                   Indicates the calling context. \r
-  @param  NumberOfFiles          Number of files. \r
-  @param  WritePolicy            WritePolicy indicates the level of reliability \r
-                                 for the write in the event of a power failure or \r
-                                 other system failure during the write operation. \r
-  @param  FileData               FileData is an pointer to an array of \r
+  @param  This                   Indicates the calling context.\r
+  @param  NumberOfFiles          Number of files.\r
+  @param  WritePolicy            WritePolicy indicates the level of reliability\r
+                                 for the write in the event of a power failure or\r
+                                 other system failure during the write operation.\r
+  @param  FileData               FileData is an pointer to an array of\r
                                  EFI_FV_WRITE_DATA. Each element of array\r
-                                 FileData represents a file to be written. \r
-\r
-  @retval EFI_SUCCESS            Files successfully written to firmware volume \r
-  @retval EFI_OUT_OF_RESOURCES   Not enough buffer to be allocated. \r
-  @retval EFI_DEVICE_ERROR       Device error. \r
-  @retval EFI_WRITE_PROTECTED    Write protected. \r
-  @retval EFI_NOT_FOUND          Not found. \r
-  @retval EFI_INVALID_PARAMETER  Invalid parameter. \r
+                                 FileData represents a file to be written.\r
+\r
+  @retval EFI_SUCCESS            Files successfully written to firmware volume\r
+  @retval EFI_OUT_OF_RESOURCES   Not enough buffer to be allocated.\r
+  @retval EFI_DEVICE_ERROR       Device error.\r
+  @retval EFI_WRITE_PROTECTED    Write protected.\r
+  @retval EFI_NOT_FOUND          Not found.\r
+  @retval EFI_INVALID_PARAMETER  Invalid parameter.\r
   @retval EFI_UNSUPPORTED        This function not supported.\r
 \r
 **/\r
@@ -46,7 +39,7 @@ FvWriteFile (
   IN       EFI_FV_WRITE_POLICY            WritePolicy,\r
   IN       EFI_FV_WRITE_FILE_DATA         *FileData\r
   )\r
-{ \r
+{\r
   return EFI_UNSUPPORTED;\r
 }\r
 \r