/** @file\r
Implements functions to pad firmware file.\r
\r
- Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
\r
- This program and the accompanying materials\r
- are licensed and made available under the terms and conditions\r
- of the BSD License which accompanies this distribution. The\r
- 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
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
\r
/**\r
Fill pad file header within firmware cache.\r
- \r
+\r
@param PadFileHeader The start of the Pad File Buffer.\r
@param PadFileLength The length of the pad file including the header.\r
\r
\r
/**\r
Create entire FFS file.\r
- \r
+\r
@param FileHeader Starting Address of a Buffer that hold the FFS File image.\r
@param FfsFileBuffer The source buffer that contains the File Data.\r
@param BufferSize The length of FfsFileBuffer.\r
@param ActualFileSize The array of actual file size.\r
@param PadSize The array of leading pad file size for each FFS File\r
@param FfsBuffer The array of Ffs Buffer pointer.\r
- @param FileData The array of EFI_FV_WRITE_FILE_DATA structure, \r
+ @param FileData The array of EFI_FV_WRITE_FILE_DATA structure,\r
used to get name, attributes, type, etc.\r
\r
@retval EFI_SUCCESS Add the input multiple files into PAD file area.\r
@param ActualFileSize The array of actual file size.\r
@param PadSize The array of leading pad file size for each FFS File\r
@param FfsBuffer The array of Ffs Buffer pointer.\r
- @param FileData The array of EFI_FV_WRITE_FILE_DATA structure, \r
+ @param FileData The array of EFI_FV_WRITE_FILE_DATA structure,\r
used to get name, attributes, type, etc.\r
\r
@retval EFI_SUCCESS Add the input multiple files into PAD file area.\r
\r
@param FvDevice Firmware Volume Device.\r
@param NumOfFiles Total File number to be written.\r
- @param FileData The array of EFI_FV_WRITE_FILE_DATA structure, \r
+ @param FileData The array of EFI_FV_WRITE_FILE_DATA structure,\r
used to get name, attributes, type, etc\r
@param FileOperation The array of operation for each file.\r
\r