-/** @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
IN EFI_FV_WRITE_POLICY WritePolicy,\r
IN EFI_FV_WRITE_FILE_DATA *FileData\r
)\r
-{ \r
+{\r
return EFI_UNSUPPORTED;\r
}\r
\r