EFI_FFS_FILE_HEADER2 Struct Reference


Data Fields

EFI_GUID Name
EFI_FFS_INTEGRITY_CHECK IntegrityCheck
EFI_FV_FILETYPE Type
EFI_FFS_FILE_ATTRIBUTES Attributes
UINT8 Size [3]
EFI_FFS_FILE_STATE State
UINT64 ExtendedSize

Field Documentation

Declares various file attribute bits.

If FFS_ATTRIB_LARGE_FILE is set in Attributes, then ExtendedSize exists and Size must be set to zero. If FFS_ATTRIB_LARGE_FILE is not set then EFI_FFS_FILE_HEADER is used.

Used to verify the integrity of the file.

This GUID is the file name. It is used to uniquely identify the file. There may be only one instance of a file with the file name GUID of Name in any given firmware volume, except if the file type is EFI_FV_FILETYPE_FFS_PAD.

The length of the file in bytes, including the FFS header. The length of the file data is either (Size - sizeof(EFI_FFS_FILE_HEADER)). This calculation means a zero-length file has a Size of 24 bytes, which is sizeof(EFI_FFS_FILE_HEADER). Size is not required to be a multiple of 8 bytes. Given a file F, the next file header is located at the next 8-byte aligned firmware volume offset following the last byte of the file F.

Used to track the state of the file throughout the life of the file from creation to deletion.

Identifies the type of file.


Generated on Wed Sep 23 16:24:27 2015 for MdePkg[ALL] by  doxygen 1.5.7.1