TianoCore EDK2 master
EFI_FIRMWARE_VOLUME_HEADER Struct Reference

#include <MdePkg/Include/Pi/PiFirmwareVolume.h>

Data Fields

UINT8 ZeroVector [16]
 
EFI_GUID FileSystemGuid
 
UINT64 FvLength
 
UINT32 Signature
 
EFI_FVB_ATTRIBUTES_2 Attributes
 
UINT16 HeaderLength
 
UINT16 Checksum
 
UINT16 ExtHeaderOffset
 
UINT8 Reserved [1]
 
UINT8 Revision
 
EFI_FV_BLOCK_MAP_ENTRY BlockMap [1]
 

Detailed Description

Describes the features and layout of the firmware volume.

Definition at line 99 of file PiFirmwareVolume.h.

Field Documentation

◆ Attributes

EFI_FVB_ATTRIBUTES_2 EFI_FIRMWARE_VOLUME_HEADER::Attributes

Declares capabilities and power-on defaults for the firmware volume.

Definition at line 120 of file PiFirmwareVolume.h.

◆ BlockMap

EFI_FV_BLOCK_MAP_ENTRY EFI_FIRMWARE_VOLUME_HEADER::BlockMap[1]

An array of run-length encoded FvBlockMapEntry structures. The array is terminated with an entry of {0,0}.

Definition at line 147 of file PiFirmwareVolume.h.

◆ Checksum

UINT16 EFI_FIRMWARE_VOLUME_HEADER::Checksum

A 16-bit checksum of the firmware volume header. A valid header sums to zero.

Definition at line 128 of file PiFirmwareVolume.h.

◆ ExtHeaderOffset

UINT16 EFI_FIRMWARE_VOLUME_HEADER::ExtHeaderOffset

Offset, relative to the start of the header, of the extended header (EFI_FIRMWARE_VOLUME_EXT_HEADER) or zero if there is no extended header.

Definition at line 133 of file PiFirmwareVolume.h.

◆ FileSystemGuid

EFI_GUID EFI_FIRMWARE_VOLUME_HEADER::FileSystemGuid

Declares the file system with which the firmware volume is formatted.

Definition at line 108 of file PiFirmwareVolume.h.

◆ FvLength

UINT64 EFI_FIRMWARE_VOLUME_HEADER::FvLength

Length in bytes of the complete firmware volume, including the header.

Definition at line 112 of file PiFirmwareVolume.h.

◆ HeaderLength

UINT16 EFI_FIRMWARE_VOLUME_HEADER::HeaderLength

Length in bytes of the complete firmware volume header.

Definition at line 124 of file PiFirmwareVolume.h.

◆ Reserved

UINT8 EFI_FIRMWARE_VOLUME_HEADER::Reserved[1]

This field must always be set to zero.

Definition at line 137 of file PiFirmwareVolume.h.

◆ Revision

UINT8 EFI_FIRMWARE_VOLUME_HEADER::Revision

Set to 2. Future versions of this specification may define new header fields and will increment the Revision field accordingly.

Definition at line 142 of file PiFirmwareVolume.h.

◆ Signature

UINT32 EFI_FIRMWARE_VOLUME_HEADER::Signature

Set to EFI_FVH_SIGNATURE

Definition at line 116 of file PiFirmwareVolume.h.

◆ ZeroVector

UINT8 EFI_FIRMWARE_VOLUME_HEADER::ZeroVector[16]

The first 16 bytes are reserved to allow for the reset vector of processors whose reset vector is at address 0.

Definition at line 104 of file PiFirmwareVolume.h.


The documentation for this struct was generated from the following file: