iPXE
Data Fields
EFI_FFS_INTEGRITY_CHECK Union Reference

Used to verify the integrity of the file. More...

#include <PiFirmwareFile.h>

Data Fields

struct {
   UINT8   Header
 The IntegrityCheck.Checksum.Header field is an 8-bit checksum of the file header. More...
 
   UINT8   File
 If the FFS_ATTRIB_CHECKSUM (see definition below) bit of the Attributes field is set to one, the IntegrityCheck.Checksum.File field is an 8-bit checksum of the file data. More...
 
Checksum
 
UINT16 Checksum16
 This is the full 16 bits of the IntegrityCheck field. More...
 

Detailed Description

Used to verify the integrity of the file.

Definition at line 21 of file PiFirmwareFile.h.

Field Documentation

◆ Header

UINT8 EFI_FFS_INTEGRITY_CHECK::Header

The IntegrityCheck.Checksum.Header field is an 8-bit checksum of the file header.

The State and IntegrityCheck.Checksum.File fields are assumed to be zero and the checksum is calculated such that the entire header sums to zero.

Definition at line 28 of file PiFirmwareFile.h.

◆ File

UINT8 EFI_FFS_INTEGRITY_CHECK::File

If the FFS_ATTRIB_CHECKSUM (see definition below) bit of the Attributes field is set to one, the IntegrityCheck.Checksum.File field is an 8-bit checksum of the file data.

If the FFS_ATTRIB_CHECKSUM bit of the Attributes field is cleared to zero, the IntegrityCheck.Checksum.File field must be initialized with a value of 0xAA. The IntegrityCheck.Checksum.File field is valid any time the EFI_FILE_DATA_VALID bit is set in the State field.

Definition at line 38 of file PiFirmwareFile.h.

◆ Checksum

struct { ... } EFI_FFS_INTEGRITY_CHECK::Checksum

◆ Checksum16

UINT16 EFI_FFS_INTEGRITY_CHECK::Checksum16

This is the full 16 bits of the IntegrityCheck field.

Definition at line 43 of file PiFirmwareFile.h.


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