Ffs.py revision 4fd606d1f5abe38e1f42c38de1d2e895166bd0f4
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# process FFS generation
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# This program and the accompanying materials
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# are licensed and made available under the terms and conditions of the BSD License
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# which accompanies this distribution. The full text of the license may be found at
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Import Modules
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw## generate FFS
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw # mapping between MODULE type in FDF (from INF) and file type for GenFfs
b1352070d318187b41b088da3533692976f3f225Alan Wright 'UEFI_APPLICATION' : 'EFI_FV_FILETYPE_APPLICATION',
b1352070d318187b41b088da3533692976f3f225Alan Wright # mapping between FILE type in FDF and file type for GenFfs
b1352070d318187b41b088da3533692976f3f225Alan Wright 'FV_IMAGE' : 'EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAGE',
037cac007b685e7ea79f6ef7e8e62bfd342a4d56joyce mcintosh 'PEI_DXE_COMBO' : 'EFI_FV_FILETYPE_COMBINED_PEIM_DRIVER',
bbf6f00c25b6a2bed23c35eac6d62998ecdb338cJordan Brown # mapping between section type in FDF and file suffix
faa1795a28a5c712eed6d0a3f84d98c368a316c6jb ## The constructor
b89a8333f5e1f75ec0c269b22524bd2eccb972banatalie li - Sun Microsystems - Irvine United States # @param self The object pointer