]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Core/Dxe/FwVol/FwVolWrite.c
Change the file name case to follow coding style: The first character should be capital.
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / FwVol / FwVolWrite.c
CommitLineData
504214c4
LG
1/** @file \r
2\r
3 Implements functions to write firmware file\r
28a00297 4\r
504214c4 5Copyright (c) 2006 - 2008, Intel Corporation \r
28a00297 6All rights reserved. This program and the accompanying materials \r
7are licensed and made available under the terms and conditions of the BSD License \r
8which accompanies this distribution. The full text of the license may be found at \r
9http://opensource.org/licenses/bsd-license.php \r
10 \r
11THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
12WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
13\r
504214c4 14**/\r
28a00297 15\r
16#include <DxeMain.h>\r
17\r
18\r
162ed594 19\r
20/**\r
21 Writes one or more files to the firmware volume.\r
22\r
23 @param This Indicates the calling context. \r
24 @param NumberOfFiles Number of files. \r
25 @param WritePolicy WritePolicy indicates the level of reliability \r
26 for the write in the event of a power failure or \r
27 other system failure during the write operation. \r
28 @param FileData FileData is an pointer to an array of \r
29 EFI_FV_WRITE_DATA. Each element of array\r
30 FileData represents a file to be written. \r
31\r
32 @retval EFI_SUCCESS Files successfully written to firmware volume \r
33 @retval EFI_OUT_OF_RESOURCES Not enough buffer to be allocated. \r
34 @retval EFI_DEVICE_ERROR Device error. \r
35 @retval EFI_WRITE_PROTECTED Write protected. \r
36 @retval EFI_NOT_FOUND Not found. \r
37 @retval EFI_INVALID_PARAMETER Invalid parameter. \r
38 @retval EFI_UNSUPPORTED This function not supported.\r
39\r
40**/\r
28a00297 41EFI_STATUS\r
42EFIAPI\r
43FvWriteFile (\r
0c2b5da8 44 IN CONST EFI_FIRMWARE_VOLUME2_PROTOCOL *This,\r
45 IN UINT32 NumberOfFiles,\r
46 IN EFI_FV_WRITE_POLICY WritePolicy,\r
47 IN EFI_FV_WRITE_FILE_DATA *FileData\r
28a00297 48 )\r
28a00297 49{ \r
50 return EFI_UNSUPPORTED;\r
51}\r
52\r
162ed594 53\r