HomeFreeBSD

smbios: support getting address from EFI

Description

smbios: support getting address from EFI

On some systems (e.g. Lenovo ThinkPad X240, Apple MacBookPro12,1)
the SMBIOS entry point is not found in the <0xFFFFF space.

Follow the SMBIOS spec and use the EFI Configuration Table for
locating the entry point on EFI systems.

Reviewed by: rpokala, dab
MFC after: 1 week
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D29276

(cherry picked from commit a29bff7a5216bd5f4a76228788e7eacf235004de)

Details

Provenance
val_packett.coolAuthored on Apr 7 2021, 7:46 PM
vangyzenCommitted on Mar 3 2022, 2:20 PM
Reviewer
rpokala
Differential Revision
D29276: smbios: support getting address from EFI
Parents
rG7abbfbda1ea7: smbios: Move smbios driver out from x86 machdep code
Branches
Unknown
Tags
Unknown