Nick: anonymous E-mail: none Board: unknown Contents: enum EFI_FV_FILETYPE : __int8 { EFI_FV_FILETYPE_ALL = 0x0, EFI_FV_FILETYPE_BIN = 0x1, EFI_FV_FILETYPE_SECTION = 0x2, EFI_FV_FILETYPE_CEIMAIN = 0x3, EFI_FV_FILETYPE_PEIMAIN = 0x4, EFI_FV_FILETYPE_DXEMAIN = 0x5, EFI_FV_FILETYPE_PEI = 0x6, EFI_FV_FILETYPE_DXE = 0x7, EFI_FV_FILETYPE_COMBINED_PEIM_DRIVER = 0x8, EFI_FV_FILETYPE_APP = 0x9, EFI_FV_FILETYPE_FFV = 0xB, EFI_FV_FILETYPE_CEI = 0xC2, EFI_FV_FILETYPE_XIP = 0xC3, EFI_FV_FILETYPE_BB = 0xC4, EFI_FV_FILETYPE_SDXE = 0xD0, EFI_FV_FILETYPE_DXESDXE = 0xD1, EFI_FV_FILETYPE_GAP = 0xF0, }; enum EFI_SECTION_TYPE { EFI_SECTION_ALL = 0x0, EFI_SECTION_COMPRESSION = 0x1, EFI_SECTION_GUID_DEFINED = 0x2, EFI_SECTION_PE32 = 0x10, EFI_SECTION_PIC = 0x11, EFI_SECTION_TE = 0x12, EFI_SECTION_DXE_DEPEX = 0x13, EFI_SECTION_VERSION = 0x14, EFI_SECTION_USER_INTERFACE = 0x15, EFI_SECTION_COMPATIBILITY16 = 0x16, EFI_SECTION_FIRMWARE_VOLUME_IMAGE = 0x17, EFI_SECTION_FREEFORM_SUBTYPE_GUID = 0x18, EFI_SECTION_BIN = 0x19, EFI_SECTION_PE64 = 0x1A, EFI_SECTION_PEI_DEPEX = 0x1B, EFI_SECTION_SOURCECODE = 0xC0, EFI_SECTION_FFV = 0xC1, EFI_SECTION_RE32 = 0xC2, EFI_SECTION_XIP16 = 0xC3, EFI_SECTION_XIP32 = 0xC4, EFI_SECTION_XIP64 = 0xC5, EFI_SECTION_PLACE16 = 0xC6, EFI_SECTION_PLACE32 = 0xC7, EFI_SECTION_PLACE64 = 0xC8, EFI_SECTION_PCI_DEVICE = 0xCF, EFI_SECTION_PDB = 0xD0, }; struct FlashFileHeader { uint8 FileState; uint8 Flags; uint8 HeaderChecksum; uint8 DataChecksum; DWORD SizeAndType; UUID GuidName; }; struct VolumeDirHeader { int field_0; int totalSize; }; struct VolumeDirEntry { UUID volumeGuid; _DWORD volumeStart; _DWORD volumeSize; }; file types C3 = XIP? 60 = uncompressed file? 0x10 = uncompressed PE 0xC4 = peim stub? ( dxedep + entry pointer) 70 = compressed file? 0x01 = EFI_SECTION_COMPRESSION 10 = 16-bit code? F0 = padding sections 0x10 uncompressed PE