]> 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)
committerKyle Evans <kevans@FreeBSD.org>
Fri, 8 Oct 2021 02:42:13 +0000 (21:42 -0500)
commit7f31297d105cd0dae9d862c814dfa75cca331bb3
tree0f5183db8e5c0c447bbad4377126152b8441e123
parent19f8884afeb822d3cde7915dd1f4e231ffc443b3
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.

(cherry picked from commit a64f0b83e5ee1c9f7ac5782a3d3f9f1c7b368e41)
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]