3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 Implements write firmware file
28 IN EFI_FIRMWARE_VOLUME_PROTOCOL
*This
,
29 IN UINT32 NumberOfFiles
,
30 IN EFI_FV_WRITE_POLICY WritePolicy
,
31 IN EFI_FV_WRITE_FILE_DATA
*FileData
36 Writes one or more files to the firmware volume.
39 This - Indicates the calling context.
40 NumberOfFiles - Number of files.
41 WritePolicy - WritePolicy indicates the level of reliability for
42 the write in the event of a power failure or other
43 system failure during the write operation.
44 FileData - FileData is an pointer to an array of EFI_FV_WRITE_DATA.
45 Each element of FileData[] represents a file to be written.
48 EFI_SUCCESS - Files successfully written to firmware volume
49 EFI_OUT_OF_RESOURCES - Not enough buffer to be allocated.
50 EFI_DEVICE_ERROR - Device error.
51 EFI_WRITE_PROTECTED - Write protected.
52 EFI_NOT_FOUND - Not found.
53 EFI_INVALID_PARAMETER - Invalid parameter.
54 EFI_UNSUPPORTED - This function not supported.
58 return EFI_UNSUPPORTED
;