]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Move smbios.c to libsa.
authorWarner Losh <imp@FreeBSD.org>
Thu, 20 Feb 2020 00:46:22 +0000 (00:46 +0000)
committerWarner Losh <imp@FreeBSD.org>
Thu, 20 Feb 2020 00:46:22 +0000 (00:46 +0000)
commita64f0b83e5ee1c9f7ac5782a3d3f9f1c7b368e41
tree64cdab9d1a55e601db2004a4dc808148b7a1cfe9
parented2a65769a5d04fcfc2acff3fa11d6b69394fd88
Move smbios.c to libsa.

smbios used to be an i386 only kinda weird quirk to the x86
architecture. But UEFI picked it up, dusted it off and now it's many
other locations. Make it base technology by moving it to libsa and
fixing up the compliation. The code has issues with unaligned access
still, but that will be addressed in a followup commit.

Differential Revision: https://reviews.freebsd.org/D23660
stand/efi/loader/Makefile
stand/i386/libi386/Makefile
stand/i386/loader/main.c
stand/libsa/Makefile
stand/libsa/smbios.c [moved from stand/i386/libi386/smbios.c with 100% similarity]
stand/libsa/smbios.h [moved from stand/i386/libi386/smbios.h with 100% similarity]