]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
smbios: support getting address from EFI
authorGreg V <greg@unrelenting.technology>
Wed, 7 Apr 2021 19:46:29 +0000 (14:46 -0500)
committerEric van Gyzen <vangyzen@FreeBSD.org>
Wed, 7 Apr 2021 19:46:29 +0000 (14:46 -0500)
commita29bff7a5216bd5f4a76228788e7eacf235004de
tree455f6c713f3dd6832a4f5e84c8a95e62db180987
parent13d4f96130b64b42f74dfc484305b08c4da54669
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
sys/amd64/conf/MINIMAL
sys/amd64/conf/NOTES
sys/amd64/include/efi.h
sys/arm64/include/efi.h
sys/dev/smbios/smbios.c
sys/sys/efi.h