HomeFreeBSD

APEI: Fix Generic Error Data Entry revision 3.0 handling.

Description

APEI: Fix Generic Error Data Entry revision 3.0 handling.

Since revision 3.0 this structure grown another field, breaking access
to the following data structures. This change fixes the PCIe errors
decoding on newer systems.

MFC after: 2 weeks

(cherry picked from commit ba83762a623033576bab5942312365d2d738f437)

Details

Provenance
mavAuthored on Nov 25 2021, 4:03 AM
Parents
rGed43c7ac0a8c: procstat_getfiles_sysctl: do not require non-null ki_fd
Branches
Unknown
Tags
Unknown