X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=BaseTools%2FSource%2FC%2FGenFw%2FGenFw.h;fp=BaseTools%2FSource%2FC%2FGenFw%2FGenFw.h;h=11b3aa941ebbc6250bfd49ccb986373363e82a82;hb=40d841f6a8f84e75409178e19e69b95e01bada0f;hp=0000000000000000000000000000000000000000;hpb=3dc8585e0a9fd4b2cb383f3ceb4961c7a88a8e71;p=mirror_edk2.git diff --git a/BaseTools/Source/C/GenFw/GenFw.h b/BaseTools/Source/C/GenFw/GenFw.h new file mode 100644 index 0000000000..11b3aa941e --- /dev/null +++ b/BaseTools/Source/C/GenFw/GenFw.h @@ -0,0 +1,35 @@ +/** @file + +Copyright (c) 2010, Intel Corporation. All rights reserved.
+ +This program and the accompanying materials are licensed and made available +under the terms and conditions of the BSD License which accompanies this +distribution. The full text of the license may be found at +http://opensource.org/licenses/bsd-license.php + +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +**/ + +#ifndef _GEN_FW_H_ +#define _GEN_FW_H_ + +VOID +SetHiiResourceHeader ( + UINT8 *HiiBinData, + UINT32 OffsetToFile + ); + +INTN +IsElfHeader ( + UINT8 *FileBuffer + ); + +BOOLEAN +ConvertElf ( + UINT8 **FileBuffer, + UINT32 *FileLength + ); + +#endif