2 Implements functions to write firmware file
4 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
10 #include "FwVolDriver.h"
13 Writes one or more files to the firmware volume.
15 @param This Indicates the calling context.
16 @param NumberOfFiles Number of files.
17 @param WritePolicy WritePolicy indicates the level of reliability
18 for the write in the event of a power failure or
19 other system failure during the write operation.
20 @param FileData FileData is an pointer to an array of
21 EFI_FV_WRITE_DATA. Each element of array
22 FileData represents a file to be written.
24 @retval EFI_SUCCESS Files successfully written to firmware volume
25 @retval EFI_OUT_OF_RESOURCES Not enough buffer to be allocated.
26 @retval EFI_DEVICE_ERROR Device error.
27 @retval EFI_WRITE_PROTECTED Write protected.
28 @retval EFI_NOT_FOUND Not found.
29 @retval EFI_INVALID_PARAMETER Invalid parameter.
30 @retval EFI_UNSUPPORTED This function not supported.
36 IN CONST EFI_FIRMWARE_VOLUME2_PROTOCOL
*This
,
37 IN UINT32 NumberOfFiles
,
38 IN EFI_FV_WRITE_POLICY WritePolicy
,
39 IN EFI_FV_WRITE_FILE_DATA
*FileData
42 return EFI_UNSUPPORTED
;