loader: Detect SMBIOS and export its information into the environment.
authorSascha Wildner <saw@online.de>
Sun, 11 Nov 2012 11:30:20 +0000 (12:30 +0100)
committerSascha Wildner <saw@online.de>
Sun, 11 Nov 2012 11:31:22 +0000 (12:31 +0100)
commitb95eca126723442c4ab3859d4a8be0d40c401879
tree74ddb930c48b20d51a2b3314fe26a151d0c30b21
parent4e5366b505b9f3c9de219d762406ccab28f395f5
loader: Detect SMBIOS and export its information into the environment.

Useful to check motherboard vendor/version, BIOS version and so forth.
Use kenv(1) for viewing the information.

This information can be accessed from the kernel but should only be
as a last resort.

Might also help in the future to better detect virtual machine types.

Taken-from: FreeBSD
sys/boot/pc32/libi386/Makefile
sys/boot/pc32/libi386/libi386.h
sys/boot/pc32/libi386/smbios.c [new file with mode: 0644]
sys/boot/pc32/loader/main.c