\r
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
\r
- This program and the accompanying materials\r
- are licensed and made available under the terms and conditions of the BSD License\r
- which accompanies this distribution. The 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
EFI_STATUS\r
FindFileEx (\r
IN CONST EFI_PEI_FV_HANDLE FvHandle,\r
- IN CONST EFI_GUID *FileName, OPTIONAL\r
+ IN CONST EFI_GUID *FileName OPTIONAL,\r
IN EFI_FV_FILETYPE SearchType,\r
IN OUT EFI_PEI_FILE_HANDLE *FileHandle\r
)\r
//\r
// GetInfo failed\r
//\r
- DEBUG ((EFI_D_ERROR, "Decompress GetInfo Failed - %r\n", Status));\r
+ DEBUG ((DEBUG_ERROR, "Decompress GetInfo Failed - %r\n", Status));\r
return EFI_NOT_FOUND;\r
}\r
//\r
//\r
// Decompress failed\r
//\r
- DEBUG ((EFI_D_ERROR, "Decompress Failed - %r\n", Status));\r
+ DEBUG ((DEBUG_ERROR, "Decompress Failed - %r\n", Status));\r
return EFI_NOT_FOUND;\r
} else {\r
return FfsProcessSection (\r
Search through every FV until you find a file of type FileType\r
\r
@param FileType File handle of a Fv type file.\r
- @param Volumehandle On succes Volume Handle of the match\r
+ @param Volumehandle On success Volume Handle of the match\r
@param FileHandle On success File Handle of the match\r
\r
@retval EFI_NOT_FOUND FV image can't be found.\r
\r
\r
//\r
- // Inform HOB consumer phase, i.e. DXE core, the existance of this FV\r
+ // Inform HOB consumer phase, i.e. DXE core, the existence of this FV\r
//\r
BuildFvHob ((EFI_PHYSICAL_ADDRESS) (UINTN) FvImageInfo.FvStart, FvImageInfo.FvSize);\r
\r
\r
return EFI_SUCCESS;\r
}\r
-\r
-\r