IntelFrameworkModulePkg: Clean up source files
1. Do not use tab characters 2. No trailing white space in one line 3. All files must end with CRLF Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
Implements write firmware file.
|
||||
|
||||
Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions
|
||||
@@ -710,7 +710,7 @@ FvcWrite (
|
||||
UINTN RemainingLength;
|
||||
UINTN WriteLength;
|
||||
UINT8 *TmpBuffer;
|
||||
|
||||
|
||||
LOffset = 0;
|
||||
RemainingLength = CalculateRemainingLength (FvDevice, Offset, &Lba, &LOffset);
|
||||
if ((UINTN) (*NumBytes) > RemainingLength) {
|
||||
@@ -1463,8 +1463,8 @@ FvWriteFile (
|
||||
|
||||
if (FileData[Index1].Type == EFI_FV_FILETYPE_FFS_PAD) {
|
||||
//
|
||||
// According to PI spec, on EFI_FV_FILETYPE_FFS_PAD:
|
||||
// "Standard firmware file system services will not return the handle of any pad files,
|
||||
// According to PI spec, on EFI_FV_FILETYPE_FFS_PAD:
|
||||
// "Standard firmware file system services will not return the handle of any pad files,
|
||||
// nor will they permit explicit creation of such files."
|
||||
//
|
||||
return EFI_INVALID_PARAMETER;
|
||||
|
Reference in New Issue
Block a user